MCPcopy Create free account
hub / github.com/Snapchat/Valdi / onDone

Function onDone

valdi/vscode_debugger/src/targets/browser/spawn/browserProcess.ts:197–210  ·  view source on GitHub ↗
(error?: Error)

Source from the content-addressed store, hash-verified

195 });
196
197 function onDone(error?: Error) {
198 cleanup();
199 reject(
200 new Error(
201 [
202 'Failed to launch browser!' + (error ? ' ' + error.message : ''),
203 stderr,
204 '',
205 'TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md',
206 '',
207 ].join('\n'),
208 ),
209 );
210 }
211
212 function onLine(line: string) {
213 stderr += line + '\n';

Callers 5

onCloseFunction · 0.85
waitForWSEndpointFunction · 0.85
lockNextWorkerMethod · 0.85
scheduleOnRenderEndMethod · 0.85
monitorFunction · 0.85

Calls 3

cleanupFunction · 0.85
rejectFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected