Add a way to get the UUID before the callback
See original GitHub issueWhen an error occurs in our app, I would like to log it to Rollbar and then direct the user to a separate error page that displays the UUID. This way they can refer to it when they contact our support team.
Unfortunately, even though the UUID is generated client-side, I can only access the UUID in the callback provided to e.g. Rollbar.error()
. Would it be possible to get the UUID sooner? Perhaps NotifierPrototype._log
can return an object that contains contextual information such as the UUID?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to pass a unique uuid to each callback? - Stack Overflow
I'm using multer-s3-transform , which allows me to manipulate the image coming in, before uploading it to my bucket. Here's what I have:...
Read more >Using uuid for the id and getting it returned after Create or Save
Anyways is there a way to get the id after save if I am not using self incrementing ids? Maybe I am missing...
Read more >How to Generage a UUID in Node.js - Future Studio
Idea 2: Use the uuid Package. Because until recently there was no native way to generate UUIDs in Node.js. You had to use...
Read more >Using another user identifier (UUID) than the user_id
You can make use of the uuid NPM package in rules as a quick way to generate a UUID that can then be...
Read more >UUID - Android Developers
Static factory to retrieve a type 3 (name based) UUID based on the specified ... to wait until another thread invokes the notify()...
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
@ukaaa Great idea! Thanks for the suggestion. I submitted a PR with this functionality. You’ll be able to get the UUID from any of the log functions now.
Merged. You’ll see this functionality in the next release.