diff --git a/browser/devtools/app-manager/content/projects.js b/browser/devtools/app-manager/content/projects.js index 02eea406804..dbc39342cfe 100644 --- a/browser/devtools/app-manager/content/projects.js +++ b/browser/devtools/app-manager/content/projects.js @@ -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); }); },