1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

Uses console.error instead

This commit is contained in:
Amir Raminfar
2020-07-19 19:25:47 -07:00
parent 7ae9230e32
commit 25ec792acb

View File

@@ -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();