diff options
Diffstat (limited to 'web/pw-server/src/lib/components/PlayerLog.svelte')
-rw-r--r-- | web/pw-server/src/lib/components/PlayerLog.svelte | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ <div class="bad-command-error">Parse error: {logTurn.action.error}</div> </div> {/if} - {#if logTurn.stderr.length > 0} + {#if showStdErr && logTurn.stderr.length > 0} <div class="stderr-header">stderr</div> <div class="stderr-text-box"> {#each logTurn.stderr as stdErrMsg} |