diff --git a/chat-plugins/traditionalgames.js b/chat-plugins/traditionalgames.js
index 90ae80f8aa..c9c9a56758 100644
--- a/chat-plugins/traditionalgames.js
+++ b/chat-plugins/traditionalgames.js
@@ -28,7 +28,7 @@ function wikiaSearch(subdomain, query, callback) {
return callback(null, result.items[0]);
});
- });
+ }).on('error', callback);
}
exports.commands = {
@@ -56,6 +56,6 @@ exports.commands = {
let htmlReply = "Best result for " + Tools.escapeHTML(query) + ":
" + Tools.escapeHTML(entryTitle) + "";
if (!broadcasting) return connection.sendTo(room, "|raw|