lib/evil/client/resolver.rb in evil-client-2.0.0 vs lib/evil/client/resolver.rb in evil-client-2.1.0
- old
+ new
@@ -44,10 +44,10 @@
def __call__
logger = @__settings__.logger
yield.tap do |obj|
logger&.debug(self.class) { "resolved #{self} to #{obj.inspect}" }
end
- rescue => err
+ rescue StandardError => err
logger&.error(self.class) { "failed to resolve #{self}: #{err.message}" }
raise
end
def __blocks__