From b20c0ac5ea16f3fe738d8f3edc9d930e432633ed Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:51:39 -0700 Subject: [PATCH] make logs error as a warning --- tools/ui/src/candid.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ui/src/candid.ts b/tools/ui/src/candid.ts index 15a89f6d..8cfaa473 100644 --- a/tools/ui/src/candid.ts +++ b/tools/ui/src/candid.ts @@ -147,7 +147,7 @@ export async function getCanisterLogs(canisterId: Principal, logger: any) { logger(content); } } catch(err) { - console.error(err); + console.warn(err); } }