diff options
author | Alan Kligman <ack@mozilla.com> | 2013-04-25 00:57:57 -0400 |
---|---|---|
committer | Alan Kligman <ack@mozilla.com> | 2013-04-25 00:58:26 -0400 |
commit | 9cc330b2d437d5158d7bc603ecef6b076cafdfc7 (patch) | |
tree | c55fedefa98f4470947860c602125fb0855279f1 /tools/file_packager.py | |
parent | 76961c5b522fb7b598a1ec1ae8ae152d0354a635 (diff) |
If caching fails, proceed to process package data.
Diffstat (limited to 'tools/file_packager.py')
-rw-r--r-- | tools/file_packager.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py index 425995d7..506e5e0f 100644 --- a/tools/file_packager.py +++ b/tools/file_packager.py @@ -544,7 +544,11 @@ if has_preloaded: console.info('loading ' + PACKAGE_NAME + ' from remote'); fetchRemotePackage(REMOTE_PACKAGE_NAME, function(packageData) { - cacheRemotePackage(db, PACKAGE_PATH + PACKAGE_NAME, packageData, {uuid:PACKAGE_UUID}, processPackageData, handleError); + cacheRemotePackage(db, PACKAGE_PATH + PACKAGE_NAME, packageData, {uuid:PACKAGE_UUID}, processPackageData, + function(error) { + console.error(error); + processPackageData(packageData); + }); } , preloadFallback); } |