Enhanced logging for CallYa troubeshooting

Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
Benny Samir Hierl 2020-10-22 10:46:10 +02:00
parent 1b24b4e209
commit 1784e63248
No known key found for this signature in database
GPG key ID: 69DE3C3C097DB7F7

View file

@ -3,9 +3,11 @@
// icon-color: teal; icon-glyph: magic; // icon-color: teal; icon-glyph: magic;
/************** /**************
Version 1.0.1 Version 1.0.2
Changelog: Changelog:
v1.0.2:
- Enhanced logging for CallYa troubeshooting
v1.0.1: v1.0.1:
- Better Error handling - Better Error handling
- Better logging - Better logging
@ -142,6 +144,7 @@ async function getUsage() {
}) })
if (datenContainer === undefined) { if (datenContainer === undefined) {
console.log(JSON.stringify(res, null, 2))
throw new Error("Can't find usageGroup 'Daten'") throw new Error("Can't find usageGroup 'Daten'")
} else { } else {
console.log("usageGroup 'Daten' founded") console.log("usageGroup 'Daten' founded")