Improve telemetry

This commit is contained in:
Peter Maquiran
2024-08-05 11:12:51 +01:00
parent bf6c4dbbd8
commit 035cb9a6c0
13 changed files with 627 additions and 30 deletions
+8
View File
@@ -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);
}
// ============================================================================