agorapulse / grails-sentry

A Sentry client for Grails
Apache License 2.0
12 stars 16 forks source link

How can I get/store last event id for user feedback custom integration? #52

Open ricardogobbo opened 4 years ago

ricardogobbo commented 4 years ago

I'm developing a custom error page with a user feedback form submission, but I don't have any clue how can I get the event id in error page/grails error handling. Do you have any suggestions?

musketyr commented 4 years ago

I don't think there's a way how to get the event id.

ricardogobbo commented 4 years ago

I have tried to get it using SentryClient injection, but for some unknown reason the bean hasn't been injected in a TagLib or in a Service.

musketyr commented 4 years ago

The client should by accessible statically from the Sentry class even without injection.