Added a handler to send the client errors to the backend. Updated the launch settings to reload the fastapi app on file changes.

This commit is contained in:
2026-09-02 02:35:53 +00:00
parent cf680cd254
commit 6cf42d3641
9 changed files with 311 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
export interface ClientErrorPayload {
message: string;
stack?: string | null;
url: string;
source?: 'unhandled_error' | 'http_resource' | 'service_error' | 'global_error';
status_code?: number | null;
endpoint?: string | null;
level?: 'error' | 'warning' | 'info';
component?: string | null;
extra?: Record<string, unknown> | null;
}