Fix error logging and metadata

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 21:49:21 +00:00
parent b5cbc42cdf
commit b1d9f9c72b
5 changed files with 252 additions and 4 deletions

View File

@@ -2797,6 +2797,7 @@ export type Database = {
ip_address_hash: string | null
method: string
parent_request_id: string | null
referrer: string | null
request_id: string
request_method: string | null
request_path: string | null
@@ -2806,6 +2807,7 @@ export type Database = {
session_id: string | null
started_at: string
status_code: number | null
timezone: string | null
trace_id: string | null
user_agent: string | null
user_id: string | null
@@ -2823,6 +2825,7 @@ export type Database = {
ip_address_hash?: string | null
method: string
parent_request_id?: string | null
referrer?: string | null
request_id: string
request_method?: string | null
request_path?: string | null
@@ -2832,6 +2835,7 @@ export type Database = {
session_id?: string | null
started_at?: string
status_code?: number | null
timezone?: string | null
trace_id?: string | null
user_agent?: string | null
user_id?: string | null
@@ -2849,6 +2853,7 @@ export type Database = {
ip_address_hash?: string | null
method?: string
parent_request_id?: string | null
referrer?: string | null
request_id?: string
request_method?: string | null
request_path?: string | null
@@ -2858,6 +2863,7 @@ export type Database = {
session_id?: string | null
started_at?: string
status_code?: number | null
timezone?: string | null
trace_id?: string | null
user_agent?: string | null
user_id?: string | null
@@ -5578,6 +5584,28 @@ export type Database = {
}
Returns: undefined
}
| {
Args: {
p_breadcrumbs?: string
p_client_version?: string
p_duration_ms?: number
p_endpoint?: string
p_environment_context?: string
p_error_message?: string
p_error_stack?: string
p_error_type?: string
p_method?: string
p_parent_request_id?: string
p_referrer?: string
p_request_id: string
p_status_code?: number
p_timezone?: string
p_trace_id?: string
p_user_agent?: string
p_user_id?: string
}
Returns: undefined
}
| {
Args: {
p_client_version?: string