Bug 920092 - ensure printing human readable error message on app install error. r=paul

This commit is contained in:
Alexandre Poirot 2013-09-25 09:37:21 -04:00
parent 484147825c
commit a2f5d7482a

View File

@ -320,10 +320,11 @@ let UI = {
// And only when the toolbox is opened, release the button // And only when the toolbox is opened, release the button
button.disabled = false; button.disabled = false;
}, },
(msg) => { (err) => {
button.disabled = false; button.disabled = false;
alert(msg); let message = err.error ? err.error + ": " + err.message : String(err);
this.connection.log(msg); alert(message);
this.connection.log(message);
}); });
}, },