From 9cc330b2d437d5158d7bc603ecef6b076cafdfc7 Mon Sep 17 00:00:00 2001 From: Alan Kligman Date: Thu, 25 Apr 2013 00:57:57 -0400 Subject: If caching fails, proceed to process package data. --- tools/file_packager.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3-18-g5258