szmarczak / http-timer

🕐 Performance timings for HTTP requests
MIT License
192 stars 18 forks source link

Use `EventEmitter.errorMonitor` instead of overwritting `emitter.emit` #21

Closed szmarczak closed 3 years ago

szmarczak commented 4 years ago

This the right way to silently listen for the error event. Note it's available since v12.16.0.

szmarczak commented 3 years ago

Fixed in b8dabf9bbd64c71ed702064bb78123a70e7c069c