diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js index 03441e6b0..fd2ecfe30 100644 --- a/js/ui/extensionDownloader.js +++ b/js/ui/extensionDownloader.js @@ -233,7 +233,9 @@ var InstallExtensionDialog = new Lang.Class({ let dir = Gio.File.new_for_path(GLib.build_filenamev([global.userdatadir, 'extensions', uuid])); let invocation = this._invocation; function errback(code, message) { - invocation.return_dbus_error('org.gnome.Shell.' + code, message ? message.toString() : ''); + let msg = message ? message.toString() : ''; + log('Error while installing %s: %s (%s)'.format(uuid, code, msg)); + invocation.return_dbus_error('org.gnome.Shell.' + code, msg); } function callback() {