additionaldata-message-exception (#12819)

better loging exceptions by keeping the orginal error (otherwise it's
swallowed and hard to debug precisely)
This commit is contained in:
Guillim
2025-06-24 14:52:03 +02:00
committed by GitHub
parent b4f7b547f1
commit 95decc6401

View File

@ -197,6 +197,7 @@ export class MessageImportExceptionHandlerService {
this.exceptionHandlerService.captureExceptions([messageImportException], { this.exceptionHandlerService.captureExceptions([messageImportException], {
additionalData: { additionalData: {
exception,
messageChannelId: messageChannel.id, messageChannelId: messageChannel.id,
}, },
workspace: { id: workspaceId }, workspace: { id: workspaceId },