Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
Benny Samir Hierl 2020-12-14 18:00:33 +01:00
parent 725bd6d568
commit 9a87e42437
No known key found for this signature in database
GPG key ID: 69DE3C3C097DB7F7

View file

@ -245,7 +245,7 @@ if (cacheExists && (today.getTime() - cacheDate.getTime()) < (cacheMinutes * 60
console.warn('Fallback to Cache') console.warn('Fallback to Cache')
orderDetails = JSON.parse(files.readString(path)) orderDetails = JSON.parse(files.readString(path))
} else { } else {
throw new Error('Fetching the data failed. Now data to show.') throw new Error('Fetching the data failed. No data to show.')
} }
} }
} }