DEV: Fix ruby syntax tree linting error (#20028)

This commit is contained in:
Jan Cernik
2023-01-26 17:17:00 -03:00
committed by GitHub
parent d96b4bbb46
commit 665065bbc7
+7 -1
View File
@@ -344,7 +344,13 @@ class OptimizedImage < ActiveRecord::Base
error << " unknown reason"
end
Discourse.warn(error, upload_id: opts[:upload_id], location: to, error_message: e.message, instructions: instructions)
Discourse.warn(
error,
upload_id: opts[:upload_id],
location: to,
error_message: e.message,
instructions: instructions,
)
false
end
end