Log JavaScript stack traces and user agents #2756
Labels
No labels
backend
critical
defect
duplicate
enhancement
fixed
frontend
general
invalid
major
minor
normal
oxjs
pandora_client
python-ox
task
trivial
wontfix
worksforme
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: 0x2620/pandora#2756
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's nice that the error log contains Python stack traces. It would be nice for client-side errors reported via
api.logError
to do the same. Patches to follow. (Obviously it's of semi-limited use if the JS is minified and there are no source maps.)Attachment 0001-window.onerror-log-stack-to-server-if-available.patch (1350 bytes) added
Attachment 0002-logError-log-HTTP_USER_AGENT.patch (968 bytes) added
traceback is better if debug mode is enabled and non minified versions are used.
adding new ticket to evaluate if we can add sourcemaps #2784
In []changeset:pandora,4984: