Skip to content

Commit

Permalink
Uses console.error instead
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Jul 20, 2020
1 parent 7ae9230 commit 25ec792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/components/LogEventSource.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 25ec792

Please sign in to comment.