From 25ec792acb39bac42b991ca37d7a23bca43d2905 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Sun, 19 Jul 2020 19:25:47 -0700 Subject: [PATCH] Uses console.error instead --- assets/components/LogEventSource.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/LogEventSource.vue b/assets/components/LogEventSource.vue index e5c0df79..839fceeb 100644 --- a/assets/components/LogEventSource.vue +++ b/assets/components/LogEventSource.vue @@ -37,7 +37,7 @@ export default { this.flushBuffer(); this.flushBuffer.flush(); }); - this.es.addEventListener("error", (e) => console.log("EventSource failed: " + JSON.stringify(e))); + this.es.addEventListener("error", (e) => console.error("EventSource failed: " + JSON.stringify(e))); this.es.onmessage = (e) => { this.buffer.push(this.parseMessage(e.data)); this.flushBuffer();