mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 15:04:00 +08:00
DEV: Fix ruby syntax tree linting error (#20028)
This commit is contained in:
parent
d96b4bbb46
commit
665065bbc7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user