From 682d3828be0dbcf1c782e9fc11d54e00ee19c7b5 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Thu, 10 Apr 2025 18:20:53 +0000 Subject: [PATCH] Standardize window log message format with ID prefix --- packages/app/src/cores/windows/windows.core.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app/src/cores/windows/windows.core.jsx b/packages/app/src/cores/windows/windows.core.jsx index 2a9dd880..8276313f 100644 --- a/packages/app/src/cores/windows/windows.core.jsx +++ b/packages/app/src/cores/windows/windows.core.jsx @@ -158,15 +158,15 @@ export default class WindowManager extends Core { }) if (!win || !element) { - this.console.error(`Window [${id}] not found`) + this.console.error(`[${id}] Window not found`) return false } - this.console.debug(`Closing window ${id}`, win, element) + this.console.debug(`[${id}] Closing window`, win, element) // if onClose callback is defined, call it if (typeof win.onClose === "function") { - this.console.debug(`Trigging close callback for window ${id}`) + this.console.debug(`[${id}] Trigging on closing callback`) await win.onClose() }