fix(d3): ARCH-055/056/057 — errors.py error.user_agent statt nicht existierendem userAgent (AttributeError zur Laufzeit); roles.py SYSTEM_PERMISSIONS aus CORE_PERMISSIONS abgeleitet (47 statt 36 Permissions, Drift behoben, category→system für Frontend-Gruppierung); registry._plugins→öffentliche API list_discovered()+get_plugin()
This commit is contained in:
@@ -114,7 +114,7 @@ async def report_error(error: ErrorReport, request: Request) -> Response:
|
||||
"error_stack": error.stack,
|
||||
"error_context": sanitized_context,
|
||||
"error_url": error.url,
|
||||
"error_user_agent": error.userAgent,
|
||||
"error_user_agent": error.user_agent,
|
||||
"client_ip": client_ip,
|
||||
},
|
||||
)
|
||||
@@ -128,7 +128,7 @@ async def report_error(error: ErrorReport, request: Request) -> Response:
|
||||
"message": error.message,
|
||||
"stack": error.stack,
|
||||
"url": error.url,
|
||||
"userAgent": error.userAgent,
|
||||
"userAgent": error.user_agent,
|
||||
"timestamp": error.timestamp,
|
||||
"context": sanitized_context,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user