lib/hanami/assets/bundler/compressor.rb in hanami-assets-1.3.1 vs lib/hanami/assets/bundler/compressor.rb in hanami-assets-1.3.2
- old
+ new
@@ -44,15 +44,15 @@
# @since 0.3.0
# @api private
def _compress(compressor)
compressor.compress(@path)
- rescue => e # rubocop:disable Style/RescueStandardError
+ rescue => exception # rubocop:disable Style/RescueStandardError
warn(
[
"Skipping compression of: `#{@path}'",
- "Reason: #{e}\n",
- "\t#{e.backtrace.join("\n\t")}\n\n"
+ "Reason: #{exception}\n",
+ "\t#{exception.backtrace.join("\n\t")}\n\n"
].join("\n")
)
end
end
end