Soft fail if there's an issue with lstu;

This commit is contained in:
Benjamin Bouvier 2016-11-01 14:01:26 +01:00
parent 0dc2a1c0b4
commit a9da941157
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}