Enable Rollbar error logging with Slim

I started using Slim in my app and noticed that any error that usually was reported by the Rollbar error tracker is not intercepted anymore. I imagine is because Slim catches any error happening in the routes to show the result as an HTML page (independently of settings “displayErrorDetails”).

My question is: Is there any way of telling Slim not to intercept those errors, so in case of any unhandled, like a syntax error, would go through Rollbar as usual?

See the ‘disabling’ section of the error handler docs (at the bottom).

http://www.slimframework.com/docs/v3/handlers/error.html#disabling

unset($app->getContainer()['errorHandler']);
unset($app->getContainer()['phpErrorHandler']);