chore: throw if protocol can't get generated when rolling

This commit is contained in:
Max Schmitt 2024-11-14 15:30:50 +01:00
parent 31a2b7bbdc
commit 14c8918fe2

View file

@ -109,7 +109,7 @@ Example:
// 5. Generate types.
console.log('\nGenerating protocol types...');
const executablePath = registry.findExecutable(browserName).executablePathOrDie();
await protocolGenerator.generateProtocol(browserName, executablePath).catch(console.warn);
await protocolGenerator.generateProtocol(browserName, executablePath);
// 6. Update docs.
console.log('\nUpdating documentation...');