mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
There isn't actually a _socket parameter to dgram sockets' error handlers
This commit is contained in:
@@ -354,7 +354,7 @@ Socket.prototype.bind = function (port_, address_ /* , callback */) {
|
||||
family,
|
||||
});
|
||||
},
|
||||
error: (_socket, error) => {
|
||||
error: error => {
|
||||
this.emit("error", error);
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user