From 00d31df58d0ea68b11600d98ebf53150a2a0cb88 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sun, 30 Oct 2022 14:37:38 +0100 Subject: design new BotMatch view --- web/pw-server/src/lib/components/PlayerLog.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/pw-server/src/lib/components/PlayerLog.svelte') diff --git a/web/pw-server/src/lib/components/PlayerLog.svelte b/web/pw-server/src/lib/components/PlayerLog.svelte index 52cae8e..60097d8 100644 --- a/web/pw-server/src/lib/components/PlayerLog.svelte +++ b/web/pw-server/src/lib/components/PlayerLog.svelte @@ -3,6 +3,7 @@ export let matchLog: string; export let playerId: number; + export let showStdErr: boolean = true; let playerLog: PlayerLog; @@ -66,7 +67,7 @@
Parse error: {logTurn.action.error}
{/if} - {#if logTurn.stderr.length > 0} + {#if showStdErr && logTurn.stderr.length > 0}
stderr
{#each logTurn.stderr as stdErrMsg} -- cgit v1.2.3