Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make LoggingThread recover on all errors
Previously, LoggingThread would recover from any XML-RPC fault, but would stop when any other type of exception was encountered. That is a problem, as it means the worker will permanently give up sending messages to the hub when all kinds of temporary issues occur (e.g. a temporary network disruption between worker and hub). The task underneath may continue running for hours, with all log messages being discarded. Given the nature of this thread, it makes more sense to attempt recovering from *all* kinds of errors, as we should try hard not to lose log messages from a task. Fixes #60
- Loading branch information