Using lastEventId in lumen


We’d like to create an error page with a sentry feedback form for the couple routes that return HTML, if a request results in an error

However, app(‘sentry’) is not registered in lumen.

Is there a more direct way we can find that id?