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 8a95213cde
commit f95f42fd86

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;