You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Async stack traces should not reside in the msg field of the exception - this field is meant for a short, human-readable description of the error that can be logged on a single line.
The Exception object already contains a parent field for exceptions - this, together with a dedicated FutureError exception that has a source field for the purpose would allow code that logs the exception to deliver a better UX.
The text was updated successfully, but these errors were encountered:
hmm interesting, you are proposing to create a FutureError object, that has file/line info or stacktrace even, and assign this object parent field with the actual exception that really happened?
That's actually the easiest and also a quite good solution.
Async stack traces should not reside in the
msg
field of the exception - this field is meant for a short, human-readable description of the error that can be logged on a single line.The Exception object already contains a
parent
field for exceptions - this, together with a dedicated FutureError exception that has asource
field for the purpose would allow code that logs the exception to deliver a better UX.The text was updated successfully, but these errors were encountered: