Bug 1039852 - Report error stack on INVALID_PACKAGE. r=fabrice

This commit is contained in:
Marco Castelluccio 2014-07-17 14:09:07 +02:00
parent 4a433a02f6
commit d39c5547b7

View File

@ -3138,7 +3138,7 @@ this.DOMApplicationRegistry = {
aOldApp.downloadAvailable = false;
}
if (typeof e == 'object') {
Cu.reportError("Error while reading package:" + e);
Cu.reportError("Error while reading package: " + e + "\n" + e.stack);
throw "INVALID_PACKAGE";
} else {
throw e;