mperdeck / jsnlog.js

Tiny JavaScript logging library, simple and well documented. Lots of options to filter logging data.
js.jsnlog.com
Other
130 stars 44 forks source link

onunhandledrejection doesn't pass error to console #47

Closed neooleg closed 6 years ago

neooleg commented 6 years ago

Issue

Solution

return should be removed from onunhandledrejection to allow browser handle the error and show it in the console.

mperdeck commented 6 years ago

Yes, that is a good point. I'll consider it for the next release.

Meanwhile, you can these errors shown in the browser console already by using a console appender: http://js.jsnlog.com/Documentation/JSNLogJs/ConsoleAppender

neooleg commented 6 years ago

@mperdeck you closed the issue, however, there is no any commits for this.

  1. Does this expected?
  2. Do you have any ETA for the next release?
neooleg commented 6 years ago

Updated Solution in the initial message and sent the PR

mperdeck commented 6 years ago

This has now been released (version 2.24.2).