Skip to content

Commit

Permalink
Fix Style/LineEndConcatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
barrucadu committed Jul 20, 2020
1 parent 17324c6 commit cd4b29d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ def self.should_monkey_patch_log_error?(clazz = ::ActionDispatch::DebugException
should_monkey_patch = actual_parameters == expected_parameters

unless should_monkey_patch
Rails.logger.warn "Refused to monkey patch ::ActionDispatch::DebugExceptions#log_error - " +
"signatures do not match. " +
Rails.logger.warn "Refused to monkey patch ::ActionDispatch::DebugExceptions#log_error - " \
"signatures do not match. " \
"Expected #{expected_parameters}, but got #{actual_parameters}"
end

should_monkey_patch
rescue StandardError => ex
Rails.logger.warn "Failed to detect whether to monkey patch " +
Rails.logger.warn "Failed to detect whether to monkey patch " \
"::ActionDispatch::DebugExceptions#log_error - #{ex.inspect}"
false
end
Expand Down

0 comments on commit cd4b29d

Please sign in to comment.