Rename handle_exception to handle_job_exception

This commit is contained in:
riking
2015-02-09 12:47:46 -08:00
parent b7f45f6667
commit 5657006aca
13 changed files with 23 additions and 23 deletions

View File

@@ -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