Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch sqlalchemy's DatabaseError in fetch and gather callback
I sometimes see "connection timed out" message which are reported as sqlalchemy.exc.DatabaseError, so by catching the latter exception, it'd avoid the harvester to be stuck in "limbo" state. As DatabaseError is a super-class of OperationalError, the latter would still be catched.
- Loading branch information