extension: log message if extension could not be installed
https://bugzilla.gnome.org/show_bug.cgi?id=776940
This commit is contained in:
parent
a46af9edf0
commit
35a9c3ec86
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user