From 2b3b17f54c8077b5665af61638c337d2cfaee4c8 Mon Sep 17 00:00:00 2001 From: Flummi Date: Wed, 10 Jan 2018 12:15:43 +0000 Subject: [PATCH] =?UTF-8?q?:=E2=81=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/trigger/parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trigger/parser.js b/src/trigger/parser.js index 4a6164a..8aac142 100644 --- a/src/trigger/parser.js +++ b/src/trigger/parser.js @@ -41,7 +41,7 @@ module.exports = (lib) => { lib.generateThumbs(); e.reply(lib.cfg.main.url+"/"+result.insertId+" - "+cb.info.title+" ("+cb.info.mime+", ~"+lib.formatSize(cb.size)+") by "+cbgu['nick']+" ("+cbgu['username']+"@"+cbgu['hostname']+")"); }).on('error', (msg) => { - e.reply(msg.error.reason); + e.reply("ups"); }); }); } @@ -165,7 +165,7 @@ module.exports = (lib) => { } else { dat.end(); - cb({ success: false, file: tmpdest, msg: err }); + cb({ success: false, file: tmpdest, msg: 'nope.' }); } }); }