WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 343491d

Browse files
committed
chore: Fix linting
1 parent d592fc8 commit 343491d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/alchemy/json_api/base_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def log_error(exception)
2626
logger = Rails.logger
2727
return unless logger
2828

29-
message = +"\n#{exception.class} (#{exception.message}):\n"
29+
message = "\n#{exception.class} (#{exception.message}):\n"
3030
message << exception.annotated_source_code.to_s if exception.respond_to?(:annotated_source_code)
3131
message << " " << exception.backtrace.join("\n ")
3232
logger.fatal("#{message}\n\n")

0 commit comments

Comments
 (0)