We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 877dbcb + c2db4a4 commit f0343efCopy full SHA for f0343ef
src/utils/browser-installer.ts
@@ -80,20 +80,12 @@ export class BackgroundBrowserInstaller {
80
return; // Already ready
81
}
82
83
- if (this.status === 'error') {
84
- throw new Error(
85
- 'Chromium installation failed.\n\n' +
86
- 'Please install manually:\n' +
87
- ' bunx playwright install chromium\n\n' +
88
- `Error: ${this.error?.message || 'Unknown error'}`
89
- );
90
- }
91
-
92
// Wait for installation to complete
93
if (this.installPromise) {
94
await this.installPromise;
95
96
+ // Check final status after waiting
97
if (this.status === 'error') {
98
throw new Error(
99
'Chromium installation failed.\n\n' +
0 commit comments