Closed platypii closed 1 year ago
This PR adds stacktrace support to jscad.app
Previously this would have just given error.toString() but now it gives a full stacktrace.
error.toString()
Changes:
formatStacktrace
eval
stack
postmessage
This PR adds stacktrace support to jscad.app
Previously this would have just given
error.toString()
but now it gives a full stacktrace.Changes:
formatStacktrace
function which parses a stacktrace and extracts the lines which were inside theeval
function.eval
stack
specifically inpostmessage
because otherwise it gets lost in transit (necessary for firefox)