Skip to content

Commit ab0be38

Browse files
committed
Using standard error
1 parent 447c315 commit ab0be38

File tree

1 file changed

+1
-1
lines changed
  • 09-behavioral-design-patterns/13-middleware-zmq

1 file changed

+1
-1
lines changed

09-behavioral-design-patterns/13-middleware-zmq/client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function main () {
1919

2020
setInterval(() => {
2121
zmqm.send({ action: 'ping', echo: Date.now() })
22-
.catch(err => console.log(err))
22+
.catch(err => console.error(err))
2323
}, 1000)
2424

2525
console.log('Client connected')

0 commit comments

Comments
 (0)