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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2822>
This commit is contained in:
parent
3f12f3a87c
commit
7a5f1e5c9e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user