Bug 838924 - Fix try/catch introduced in bug 835210 which caused FOTA updates to still be broken. r=marshall_law

This commit is contained in:
Dave Hylands 2013-02-07 12:53:59 -08:00
parent e657745498
commit 4431d5fba0

View File

@ -19,8 +19,9 @@ function log(msg) {
#ifdef MOZ_WIDGET_GONK
let librecovery = (function() {
let library;
try {
let library = ctypes.open("librecovery.so");
library = ctypes.open("librecovery.so");
} catch (e) {
log("Unable to open librecovery.so");
throw Cr.NS_ERROR_FAILURE;