We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 8893b1f commit 684fc87Copy full SHA for 684fc87
lib/commands/record-screen.js
@@ -147,8 +147,10 @@ class ScreenRecorder {
147
});
148
} catch (e) {
149
await this._enforceTermination();
150
- this.log.errorAndThrow(`The expected screen record file '${this._videoPath}' does not exist after ${STARTUP_TIMEOUT_MS}ms. ` +
151
- `Check the server log for more details`);
+ throw this.log.errorWithException(
+ `The expected screen record file '${this._videoPath}' does not exist after ${STARTUP_TIMEOUT_MS}ms. ` +
152
+ `Check the server log for more details`
153
+ );
154
}
155
this._timer = setTimeout(async () => {
156
if (this.isRunning) {
0 commit comments