feat(core): Add metadata (customdata) to event log (#6334)

* add metadata (customdata) to event log

* lint fix

* use reduce
This commit is contained in:
Michael Auerswald
2023-05-30 17:59:55 +02:00
committed by GitHub
parent f91d36cd30
commit 792b1c1ffb
3 changed files with 20 additions and 1 deletions

View File

@@ -359,7 +359,11 @@ export class MessageEventBusDestinationWebhook
}
}
} catch (error) {
console.error(error);
LoggerProxy.warn(
`Webhook destination ${this.label} failed to send message to: ${this.url} - ${
(error as Error).message
}`,
);
}
return sendResult;