diff --git a/src/plugins/irc-events/link.js b/src/plugins/irc-events/link.js index b83a4a4..0481f44 100644 --- a/src/plugins/irc-events/link.js +++ b/src/plugins/irc-events/link.js @@ -89,7 +89,11 @@ function parse(msg, url, res, client) { } function fetch(url, cb) { - var req = request.get(url); + try { + var req = request.get(url); + } catch(e) { + return; + } var length = 0; var limit = 1024 * 10; req