bugsnag-php icon indicating copy to clipboard operation
bugsnag-php copied to clipboard

Get Error ID in Notifier Response

Open Antnee opened this issue 11 years ago • 2 comments

Hi guys,

I was wondering if there's a way to get a unique ID back from the notifier? Presumably the notification is placed in a queue, rather than immediately recorded somewhere, so I appreciate that this may not be immediately possible. It would be useful for us though to generate an error ID and return in an API response for tracking.

Thanks

Antnee avatar May 27 '15 10:05 Antnee

Hi Antee,

We do indeed just queue incoming requests, so we can't return a unique identifier from the server, and that's unlikely to change.

What some people do is generate a UUID in beforeBugsnagNotify and send it with the crash, so that you can correlate crash reports with logs.

Will that work for you?

Conrad

ConradIrwin avatar May 29 '15 01:05 ConradIrwin

Yeah, we can do that. Just need to add it across multiple apps. No probs. Thanks for the response

Antnee avatar May 29 '15 07:05 Antnee