Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds better stack trace to error messages
Found that in Chrome when an error happens in say a handler function the try/catch block would catch the error and pass it along to the debug() method. The problem is that when the debug function in turn does a console.log(err) it looses the stack trace and your not able to see what happened. This might be the limitations of Chrome's console but adding the err.stack allows the developer a peek into the cause of any errors thrown.
- Loading branch information