server-side code errors out when given a message and an error
See original GitHub issueon the client Rollbar.error("a message", e)
will silently drop the message if e
is an error.
on the server this doesn’t happen which results in this error:
API error: Invalid format. data.body must have either a 'trace', 'trace_chain', 'message' or 'crash_report' property, (but not more than one).
i can make a pr to fix this on the server, but i’m curious if the client side behavior is really the desired behavior?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
10 Error Status Codes When Building APIs For The First Time ...
Let's look at the 10 most common HTTP status codes that indicate an error response, either on the client or the server-side.
Read more >What's the best way to deal with an error in the server side and ...
Let's supose that in this code block the directory doesn't exists: lastUpdatedDate('./directoreyDoesntExists/appVersion.js'),. So my code goes ...
Read more >A Complete Guide and List of HTTP Status Codes
A complete list of HTTP status codes with explaination of what they are, why they occur and what you can do to fix...
Read more >Should a client / server share error codes?
In my opinion, the marginal benefit obtained by sharing error codes that are likely to have not that much in common is outweighed...
Read more >Display Server Side Validation Errors with Angular - | juri.dev
The part that's missing is to parse the error. Assume we have a personService that sends the form value back to the server...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll get this out today
ok, cool