bryantrobbins / baseball

An upcoming web-based tool for sabermetrics.
Apache License 2.0
22 stars 9 forks source link

Worker: Job Error Propagation #65

Open bryantrobbins opened 7 years ago

bryantrobbins commented 7 years ago

The current worker implementation does not update the DB entry in the case of errors (and stops processing all messages when the first error is encountered).

Things should not be this way. We should generically try/except so that job status is always updated and job processing continues to the next job as appropriate.

Propagation should also include an error message.