From a8a79c03330427808e776c344f7ebc42782a1b5a Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Sat, 1 May 2021 18:15:50 +0000 Subject: [PATCH] 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: --- js/dbusServices/extensions/extensionsService.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/dbusServices/extensions/extensionsService.js b/js/dbusServices/extensions/extensionsService.js index ce98bbf57..6556d3cf3 100644 --- a/js/dbusServices/extensions/extensionsService.js +++ b/js/dbusServices/extensions/extensionsService.js @@ -211,6 +211,7 @@ var ExtensionPrefsDialog = GObject.registerClass({ this._stack.visible_child = widget; } catch (e) { this._setError(e); + logError(e, 'Failed to open preferences'); } }