Details
-
Type:
Enhancement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Currently, ex-info exceptions have no stack traces, which makes them.. much less useful.
Attached patch (0001-hack-ex-info-stacktraces.patch) is one hackish way of getting stack traces back when Error.captureStackTrace is available (at least in Chrome, presumably in Node as well).
But this seems unacceptable — all the stuff emitted for the deftype (making the constructor print as a type) gets overwritten.
Is there a better way?
Will this maybe be made irrelevant by source maps?
Isn't the stack trace recoverable from the original exception?