debug bank.js NitradoAPI.js and change ReadLogs callback
This commit is contained in:
5 files changed
+15
-18
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ module.exports = {
|
||||
).then(res => res);
|
||||
|
||||
const stream = fs.createWriteStream(outputDir);
|
||||
if (!res.data.token) {
|
||||
if (!res.data || !res.data.token) {
|
||||
client.error(`Error downloading File "${filename}":`);
|
||||
client.error(res);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user