mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-23 13:46:11 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user