From 7d4c7bae2032f7670b6da2f9e88d53c8709e3235 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Tue, 9 Sep 2025 19:04:44 -0400 Subject: [PATCH] dev: improve error message in UIDesktop This error message in UIDesktop caused me confusion earlier because it didn't provide any indication of where the error came from. This commit adds a string behind the error to specify that it happened while trying to launch an app. --- src/gui/src/UI/UIDesktop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/src/UI/UIDesktop.js b/src/gui/src/UI/UIDesktop.js index 6e5a96c68..a49b1d23b 100644 --- a/src/gui/src/UI/UIDesktop.js +++ b/src/gui/src/UI/UIDesktop.js @@ -1255,7 +1255,7 @@ async function UIDesktop(options) { $('.show-desktop-btn').removeClass('hidden'); } } catch (e) { - console.error(e); + console.error('UIDesktop app path launch error', e); } // get query params, any param that doesn't start with 'puter.' will be passed to the app @@ -2355,4 +2355,4 @@ window.reset_window_size_and_position = (el_window) => { }); } -export default UIDesktop; \ No newline at end of file +export default UIDesktop;