small adjustment

Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
Benny Samir Hierl 2020-10-22 11:57:58 +02:00
parent 60deb3a402
commit ab66131796
No known key found for this signature in database
GPG key ID: 69DE3C3C097DB7F7

View file

@ -174,7 +174,7 @@ async function getUsage() {
console.log(ErrorMsg)
const listOfCodeInResponse = datenContainer.usage.map(function(v) {
return v.code;
return `Code: "${v.code}" for "${v.description}"`;
})
console.log("Please check the following list to find the correct code for your case and adjust the list of codes at the beginnging: " + listOfCodeInResponse.join(", "))
throw new Error(ErrorMsg)