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.
This commit is contained in:
KernelDeimos
2025-09-09 19:04:44 -04:00
parent 6120515300
commit 7d4c7bae20
+2 -2
View File
@@ -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;
export default UIDesktop;