extensionsService: Log error if preferences dialog failed to open

This is helpful for continuous integration checks to see whether the
preferences dialog of an extension can be opened successfully.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1830>
This commit is contained in:
Simon Schneegans 2021-05-01 18:15:50 +00:00 committed by Marge Bot
parent 396c12c925
commit a8a79c0333

View File

@ -211,6 +211,7 @@ var ExtensionPrefsDialog = GObject.registerClass({
this._stack.visible_child = widget; this._stack.visible_child = widget;
} catch (e) { } catch (e) {
this._setError(e); this._setError(e);
logError(e, 'Failed to open preferences');
} }
} }