Can I use custom exception handler middleware with Hangfire?

I’m trying to implement an exception handler middleware to intercept all exceptions from my hangfire application.

In order to test, I’m forcing a exception, converting an invalid DateTime data, but the application is ignoring my middleware and besides the error is shown on hangfire’s dashboard screen, it doens’t pass through the middleware.

My question is preety simple: It is possible to use middlewares like that with hangfire application?