Currently in v4.x, the beforeSend callback receives a report object that does not include the original exception objects that are associated w/ the report. Having the original error instance included in the report would allow clients to leverage more sophisticated logic when determining whether or not to send the report along to the server. This would enable ember applications to leverage things like isAjaxError.
Related to #43.
This seems like something we can consider. I see how it could be useful for you.
+1 on this. Specifically, it's not uncommon for 3rd-party libraries to put essential information about errors in ad-hoc properties. Some specific examples I've run into include:
@sendgrid/client: error.response.body.errors for errors returned from their service APIsequelize: error.original.sql for the raw SQL query, error.errors for data validation errorsjoi: error.annotate() for validation error detailsajv: error.errors for validation error detailsBeing able to append this information to a bug report would be extremely helpful.
Most helpful comment
This seems like something we can consider. I see how it could be useful for you.