fix(core): update
This commit is contained in:
parent
15e3cdae83
commit
52bd80aebd
@ -260,9 +260,8 @@ export class CloudflareAccount {
|
|||||||
console.log(response.body);
|
console.log(response.body);
|
||||||
throw new Error(`request failed for ${requestUrl}`);
|
throw new Error(`request failed for ${requestUrl}`);
|
||||||
} else {
|
} else {
|
||||||
console.log(response.statusCode);
|
|
||||||
console.log(response.body);
|
console.log(response.body);
|
||||||
throw Error('request failed');
|
throw new Error(`request failed for ${requestUrl} with status${response.statusCode}}`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user