From 7a5f1e5c9e96b04a41407d1ae9d9f242b31ed1cf Mon Sep 17 00:00:00 2001 From: Evan Welsh Date: Wed, 5 Jul 2023 18:12:39 -0700 Subject: [PATCH] layout: Add catch when asynchronously setting up the startup animation This ensures any errors that occur in this stage of startup are clearly logged. Part-of: --- js/ui/layout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/layout.js b/js/ui/layout.js index cbd28c38a..baf5a807b 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -684,7 +684,7 @@ var LayoutManager = GObject.registerClass({ if (this.primaryMonitor) { this._systemBackground.show(); global.stage.show(); - this._prepareStartupAnimation(); + this._prepareStartupAnimation().catch(logError); return GLib.SOURCE_REMOVE; } else { return GLib.SOURCE_CONTINUE;