Soft fail if there's an issue with lstu;
This commit is contained in:
parent
0dc2a1c0b4
commit
a9da941157
1
index.js
1
index.js
@ -52,6 +52,7 @@ if (config.lstu) {
|
|||||||
res ? "(status: " + res.statusCode + ")" : "(no response)",
|
res ? "(status: " + res.statusCode + ")" : "(no response)",
|
||||||
'\nerror:', err,
|
'\nerror:', err,
|
||||||
'\nfailure reason:', body.msg);
|
'\nfailure reason:', body.msg);
|
||||||
|
callback(url);
|
||||||
} else {
|
} else {
|
||||||
callback(body.short);
|
callback(body.short);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user