mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-29 21:07:40 +01:00
test: retain browser exceptions in runner campaign diagnostics
This commit is contained in:
1 parent
f044e17ed5
commit
d2a6acddb4
1 file changed
+3
@@ -727,6 +727,9 @@ for (const execution of executions) {
|
||||
});
|
||||
}
|
||||
});
|
||||
page.on("pageerror", (error) => {
|
||||
consoleDiagnostics.push({ type: "pageerror", text: error.message, stack: error.stack });
|
||||
});
|
||||
page.on("requestfailed", (requestEvent) => {
|
||||
networkDiagnostics.push({
|
||||
method: requestEvent.method(),
|
||||
|
||||
Reference in new issue
Block a user