diff --git a/src/plugins/irc-events/link.js b/src/plugins/irc-events/link.js index d82a425a..c4aaa836 100644 --- a/src/plugins/irc-events/link.js +++ b/src/plugins/irc-events/link.js @@ -175,7 +175,7 @@ function fetch(uri, cb) { limit = 1024 * 50; } }) - .on("error", function() {}) + .on("error", () => cb(null)) .on("data", (data) => { length += data.length; buffers.push(data);