fix(core): update

This commit is contained in:
Philipp Kunz 2020-02-28 14:57:41 +00:00
parent 15e3cdae83
commit 52bd80aebd

View File

@ -260,9 +260,8 @@ export class CloudflareAccount {
console.log(response.body);
throw new Error(`request failed for ${requestUrl}`);
} else {
console.log(response.statusCode);
console.log(response.body);
throw Error('request failed');
throw new Error(`request failed for ${requestUrl} with status${response.statusCode}}`);
}
};