chore: throw if protocol can't get generated when rolling (#33607)

This commit is contained in:
Max Schmitt 2024-11-14 16:12:07 +01:00 committed by GitHub
parent 445ff73c6e
commit b8f824ca6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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...');