mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Bug 920092 - ensure printing human readable error message on app install error. r=paul
This commit is contained in:
parent
628ae5cc73
commit
cb3bc8b1f5
@ -320,10 +320,11 @@ let UI = {
|
||||
// And only when the toolbox is opened, release the button
|
||||
button.disabled = false;
|
||||
},
|
||||
(msg) => {
|
||||
(err) => {
|
||||
button.disabled = false;
|
||||
alert(msg);
|
||||
this.connection.log(msg);
|
||||
let message = err.error ? err.error + ": " + err.message : String(err);
|
||||
alert(message);
|
||||
this.connection.log(message);
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user