Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove extra exception wrapper allocation
```ruby ActionDispatch::ExceptionWrapper.new(backtrace_cleaner, exception).exception ``` The above code just returns the original exception object. You can see [in Rails](https://github.com/rails/rails/blob/08ef43ed5e01b42b2aec847a0424515f537ed427/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#L44-L48) the exception is simply stored in an ivar and then returned with an attr_reader. There shouldn't be any reason to construct this object
- Loading branch information