Foundatio icon indicating copy to clipboard operation
Foundatio copied to clipboard

Send work item failed progress messages

Open niemyjski opened this issue 8 years ago • 2 comments

We don't send a progress message when a work item fails. What should the status be?

niemyjski avatar Jan 24 '17 17:01 niemyjski

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 avatar Feb 06 '17 08:02 jamie94bc

@jamie94bc good point :)

niemyjski avatar Feb 06 '17 13:02 niemyjski

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.

akshay-zz avatar Dec 27 '22 08:12 akshay-zz

Awesome! Yeah, I think that works for a solution.

niemyjski avatar Dec 29 '22 14:12 niemyjski