Foundatio
Foundatio copied to clipboard
Send work item failed progress messages
We don't send a progress message when a work item fails. What should the status be?
If we were to stick with the current WorkItemStatus
model then I think setting the integer Progress
property to -1
with an appropriate message would be clear enough.
@jamie94bc good point :)
Hi @niemyjski , I would like to take this issue. Just want to understand things. In WorkItemJob.ProcessAsync
in case of an exception, we want to report the status as -1
with a proper message.
Awesome! Yeah, I think that works for a solution.