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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user