Replace console.log with an event
This commit is contained in:
parent
002a36bcfc
commit
5fec3a5cc1
@ -105,7 +105,7 @@ CopyStreamQuery.prototype._transform = function(chunk, enc, cb) {
|
||||
case code.ParameterStatus:
|
||||
case code.NoticeResponse:
|
||||
case code.NotificationResponse:
|
||||
console.log("Got an interspersed message: " + message);
|
||||
this.emit('warning', 'Got an interspersed message: ' + message);
|
||||
break;
|
||||
}
|
||||
offset += (length - Int32Len);
|
||||
|
Loading…
Reference in New Issue
Block a user