Using console.error for error logs. (#517)
This commit is contained in:
parent
a4f023d250
commit
e976c45f88
7 changed files with 9 additions and 4 deletions
|
@ -27,7 +27,7 @@ export class WebSocketService {
|
|||
try {
|
||||
obs.next(JSON.parse(e.data.toString()));
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
console.error(err);
|
||||
}
|
||||
})
|
||||
.onOpen(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue