mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 05:53:52 +08:00
Change 'code' to 'message'
This commit is contained in:
@ -128,7 +128,7 @@ module Oneboxer
|
||||
}
|
||||
}
|
||||
rescue => e
|
||||
Discourse.handle_exception(e, url: url)
|
||||
Discourse.handle_exception(e, message: "While trying to onebox a URL", url: url)
|
||||
# return a blank hash, so rest of the code works
|
||||
{preview: "", onebox: ""}
|
||||
end
|
||||
|
Reference in New Issue
Block a user