Fixing issue with market rate from file

This commit is contained in:
Matias committed 2019-07-10 09:11:41 -03:00
1 parent ec21ceffb9
commit 235df86cda
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@
let candleArray;
if (err.result === global.CUSTOM_FAIL_RESPONSE.result) { // Just past midnight, this file will not exist for a couple of minutes.
if (err.message === "File does not exist.") {
if (err.message === "File does not exist." || err.message === "The specified key does not exist.") {
callBackFunction(global.DEFAULT_RETRY_RESPONSE);
return;
}