From a9da9411573ffb49122bf198f5d0bc3f7764743d Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Tue, 1 Nov 2016 14:01:26 +0100 Subject: [PATCH] Soft fail if there's an issue with lstu; --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 14b47aa..8b0829a 100644 --- a/index.js +++ b/index.js @@ -52,6 +52,7 @@ if (config.lstu) { res ? "(status: " + res.statusCode + ")" : "(no response)", '\nerror:', err, '\nfailure reason:', body.msg); + callback(url); } else { callback(body.short); }