tapzero
tapzero copied to clipboard
stacktraces missing
this is just a code error... it should have a line number and file.

Will try to reproduce this and see what the best way is to preserve stack traces.
Looks like a bug in the browser itself ( https://stackoverflow.com/questions/3734236/how-can-i-rethrow-an-exception-in-javascript-but-preserve-the-stack ).
The only work around I can find is to add an option to not rethrow only for webkit/browsers.
Once we remove the exception rethrowing behavior we get this

Which to me says that debugging promises in webkit is frustrating and the webkit dev tools

I was able to turn on the debugger and set it to breakpoint on all exceptions and it did break at the actual location of the error.
Improved by https://github.com/optoolco/tapzero/pull/4