Exporter getFailedNotificationBody #14606
MatticusPrime29
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is a
getCompletedNotificationBody
method available for modifying the message of the export when the job succeeds. Although, if I pass in middleware that allows a job to fail viagetJobMiddleware
. E.g.,When the particular job fails, the message will still say whatever is passed into the
getCompletedNotificationBody
, without a way to tell if the job has failed such that the dev can change the error message.If there could be a method called
getFailedNotificationBody
, that would be great! Even better to have the exception passed as a parameter to the method.Beta Was this translation helpful? Give feedback.
All reactions