summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/pnpm-lock.yaml6
-rw-r--r--frontend/src/toaster.tsx2
-rw-r--r--frontend/src/wsrouter.ts6
3 files changed, 5 insertions, 9 deletions
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 5c5ce0ac..edcb93c1 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -7,7 +7,7 @@ settings:
dependencies:
'@decky/ui':
specifier: ^4.0.2
- version: 4.0.2
+ version: link:../../lib
filesize:
specifier: ^10.1.2
version: 10.1.2
@@ -335,10 +335,6 @@ packages:
resolution: {integrity: sha512-YChHjlk//lOiIM2tlNSd6Qk9aduFJOtG+uRv1JaTzLewPRj4dDeupC+mbJJfarMGYa4nsLnJ6BsubTqboeb+VQ==}
dev: true
- /@decky/ui@4.0.2:
- resolution: {integrity: sha512-sU1Dz2dOyysEcXus3iix/7lgaR3V8H/0VPUHuQkiD7CibPw1ksUDYR2DUwNo48S0Pe4D4nDp9hOEOFyfrWWLDw==}
- dev: false
-
/@esbuild/aix-ppc64@0.20.2:
resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==}
engines: {node: '>=12'}
diff --git a/frontend/src/toaster.tsx b/frontend/src/toaster.tsx
index 7f08cb01..7b93c91c 100644
--- a/frontend/src/toaster.tsx
+++ b/frontend/src/toaster.tsx
@@ -79,7 +79,7 @@ class Toaster extends Logger {
};
instance = findToasterRoot(tree, 0);
while (!instance) {
- this.error(
+ this.warn(
'Failed to find Toaster root node, reattempting in 5 seconds. A developer may need to increase the recursion limit.',
);
await sleep(5000);
diff --git a/frontend/src/wsrouter.ts b/frontend/src/wsrouter.ts
index 75d74cde..00d0bd2e 100644
--- a/frontend/src/wsrouter.ts
+++ b/frontend/src/wsrouter.ts
@@ -136,7 +136,7 @@ export class WSRouter extends Logger {
if (this.runningCalls.has(data.id)) {
this.runningCalls.get(data.id)!.resolve(data.result);
this.runningCalls.delete(data.id);
- this.debug(`Resolved PY call ${data.id} with value`, data.result);
+ this.debug(`[${data.id}] Resolved PY call with value`, data.result);
}
break;
@@ -145,7 +145,7 @@ export class WSRouter extends Logger {
let err = new PyError(data.error.name, data.error.error, data.error.traceback);
this.runningCalls.get(data.id)!.reject(err);
this.runningCalls.delete(data.id);
- this.debug(`Rejected PY call ${data.id} with error`, data.error);
+ this.debug(`[${data.id}] Rejected PY call with error`, data.error);
}
break;
@@ -183,7 +183,7 @@ export class WSRouter extends Logger {
this.runningCalls.set(id, resolver);
- this.debug(`Calling PY method ${route} with args`, args);
+ this.debug(`[${id}] Calling PY method ${route} with args`, args);
this.write({ type: MessageType.CALL, route, args, id });