Remove debug code

This commit is contained in:
Jan Oberhauser
2020-09-18 09:57:38 +02:00
parent 43396b7b9c
commit 28d5f22f61
4 changed files with 0 additions and 6 deletions

View File

@@ -33,8 +33,6 @@ export async function mandrillApiRequest(this: IExecuteFunctions | IHookFunction
try {
return await this.helpers.request!(options);
} catch (error) {
console.error(error);
const errorMessage = error.response.body.message || error.response.body.Message;
if (error.name === 'Invalid_Key') {
throw new Error('The provided API key is not a valid Mandrill API key');