Class: ConvenientService::Common::Plugins::CleansExceptionBacktrace::Middleware Private
- Inherits:
-
MethodChainMiddleware
- Object
- ConvenientService::Common::Plugins::CleansExceptionBacktrace::Middleware
- Defined in:
- lib/convenient_service/common/plugins/cleans_exception_backtrace/middleware.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#next ⇒ Object
private
Can be any type.
Instance Method Details
#next ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns Can be any type.
20 21 22 23 24 25 26 27 |
# File 'lib/convenient_service/common/plugins/cleans_exception_backtrace/middleware.rb', line 20 def next(...) chain.next(...) rescue => exception clean_backtrace!(exception) clean_backtrace!(exception.cause) if exception.cause raise end |