Skip to content

Commit

Permalink
chore: Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdeyen committed Oct 30, 2024
1 parent d592fc8 commit 343491d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/alchemy/json_api/base_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def log_error(exception)
logger = Rails.logger
return unless logger

message = +"\n#{exception.class} (#{exception.message}):\n"
message = "\n#{exception.class} (#{exception.message}):\n"
message << exception.annotated_source_code.to_s if exception.respond_to?(:annotated_source_code)
message << " " << exception.backtrace.join("\n ")
logger.fatal("#{message}\n\n")
Expand Down

0 comments on commit 343491d

Please sign in to comment.