mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Don't transmit ui-side unhandled exceptions (the handler shall be there already)
This commit is contained in:
@@ -17,7 +17,7 @@ export function setupClientUncaughtErrorsLogging(): () => void {
|
||||
filename: event.filename,
|
||||
lineno: event.lineno,
|
||||
colno: event.colno,
|
||||
}, 'unhandled');
|
||||
}, 'unhandled', { skipReporting: true });
|
||||
};
|
||||
|
||||
// Handle unhandled promise rejections
|
||||
@@ -26,7 +26,7 @@ export function setupClientUncaughtErrorsLogging(): () => void {
|
||||
reason: event.reason,
|
||||
message: event.reason?.message,
|
||||
stack: event.reason?.stack,
|
||||
}, 'unhandled');
|
||||
}, 'unhandled', { skipReporting: true });
|
||||
};
|
||||
|
||||
// install
|
||||
|
||||
Reference in New Issue
Block a user