mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Rename handle_exception to handle_job_exception
This commit is contained in:
@@ -128,7 +128,7 @@ module Oneboxer
|
||||
}
|
||||
}
|
||||
rescue => e
|
||||
Discourse.handle_exception(e, message: "While trying to onebox a URL", url: url)
|
||||
Discourse.handle_job_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