You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing larger migrations sometimes it would be more ideal to let the import continue rather than fail entirely and report afterward that there are items that failed.
For example, I do not want the entire process to fail when an item is not able to be published due to missing elements. I would rather see the publish fail and for the process to continue.
Proposed solution
Add an option to continue on failure, adding a catch statement in processing-utils.ts. Here we could check for a flag to determine whether we re-throw the error.
Potentially offer the ability to set a function that will run when an item fails. That way a user can easily inject external logic or logging when a failure happens.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Motivation
When doing larger migrations sometimes it would be more ideal to let the import continue rather than fail entirely and report afterward that there are items that failed.
For example, I do not want the entire process to fail when an item is not able to be published due to missing elements. I would rather see the publish fail and for the process to continue.
Proposed solution
Add an option to continue on failure, adding a catch statement in
processing-utils.ts
. Here we could check for a flag to determine whether we re-throw the error.Potentially offer the ability to set a function that will run when an item fails. That way a user can easily inject external logic or logging when a failure happens.
Additional context
N/A
The text was updated successfully, but these errors were encountered: