You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didnt like how intrucive the manual exception handling was, so I added a helper method for this in version 2.3.3. Simply wrap the code with a call to the exception handler like so
RailsExceptionHandler.catchdo# Code that runs outside of Rackend
The exception will only be caught and stored if the exception handler is activated. so the errors will be raised like normal in development and test.
Hello. I suggest to add checking if(RailsExceptionHandler.configuration.activate?)
to manual exception handling in order to tests are running if RailsExceptionHandler is only for production mode.
https://github.com/Sharagoz/rails_exception_handler/wiki/Manual-exception-handling-outside-of-rack
The text was updated successfully, but these errors were encountered: