Skip to content

Expose inner exception when batch fails#509

Open
jorrit wants to merge 1 commit intoFekide:strapi-v5from
jorrit:patch-1
Open

Expose inner exception when batch fails#509
jorrit wants to merge 1 commit intoFekide:strapi-v5from
jorrit:patch-1

Conversation

@jorrit
Copy link
Copy Markdown

@jorrit jorrit commented Mar 13, 2025

Exposes error.message in the error thrown by BatchTranslateJobExecutor.

Also sets the cause property. Due to a lagging winston dependency in strapi, the cause is not yet printed to the console. Hopefully strapi will update this dependency some day which presents the cause to the strapi console log.

Whenever that happens, the message could again be removed from the error message.

Exposes `error.message` in the error thrown by BatchTranslateJobExecutor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant