logdna / logdna-browser

A frontend browser logging and exception capturing library for LogDNA
MIT License
19 stars 14 forks source link

Losing the original error message #38

Closed lmcarreiro closed 2 years ago

lmcarreiro commented 2 years ago

Usually, the javascript error object already have the message property, so this code is overriding the original message that is being lost:

https://github.com/logdna/logdna-browser/blob/7f7d7274ba15792e7451e14ca0a31a1bc84a9f8f/src/plugins/global-handler.ts#L26-L48

image
TerryMooreII commented 2 years ago

Yep, I will get this fixed up shortly. Thanks for pointing it out.

logdnabot commented 2 years ago

:tada: This issue has been resolved in version 2.0.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket: