mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Improve telemetry
This commit is contained in:
@@ -88,3 +88,11 @@ export class AppComponent {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
window.onerror = function(message, source, lineno, colno, error) {
|
||||
if (error) message = error.stack;
|
||||
console.log('send', 'event', 'window.onerror', message, navigator.userAgent);
|
||||
}
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user