exceptionless / Exceptionless.JavaScript

Exceptionless JavaScript client
http://exceptionless.com
Apache License 2.0
59 stars 24 forks source link

Populate extra exception properties #8

Closed niemyjski closed 9 years ago

niemyjski commented 9 years ago

We should be looking at the exception object and storing any extra properties for example for the error object looks like this:

{
    "stack": "xyz",
    "message": "test",
    "extraproperty": "test"
}

We should be storing extraproperty as an object in extended data as shown here: https://github.com/exceptionless/Exceptionless.Net/search?utf8=✓&q=extra We might need to create an exception that has this in c# and look at the json that is created so we ensure the added dictionary is correct for deserialization..

NOTE: There are known exception properties that should be ignored: https://github.com/csnover/TraceKit/blob/master/spec/fixtures/captured-errors.js

niemyjski commented 9 years ago

@frankebersoll I've updated the description.