harvester-d4science/ckanext/harvest
Denis Laxalde 7bb9a2b5e4 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.
2017-11-02 17:20:31 +01:00
..
commands Update documentation 2016-11-16 16:02:12 +01:00
controllers Abort Jobs from UI 2017-10-26 14:42:39 +00:00
fanstatic_library/styles [#23] Make labels a little wider on harvest new form 2013-03-20 14:07:03 +00:00
harvesters [289] Fix default_extras 2017-05-29 20:11:49 +02:00
i18n [#214] Move ckanext/harvest/templates/templates_new to ckanext/harvest/templates 2015-12-11 15:24:45 +00:00
logic Ignoring not existent harvest sources in harvest_sources_job_history_clear 2016-11-15 23:36:11 +01:00
model [#249] Test and fix docs for default_tags. Needed to improve error handling when saving ValidationError in a HOE. 2016-06-09 22:11:03 +00:00
public/ckanext/harvest add javascript for source type 2013-02-25 18:12:47 +00:00
templates Merge pull request #298 from ckan/use-api-to-get-dataset-count 2017-11-02 10:31:36 +00:00
tests Fix url_for depending tests 2017-07-27 16:09:00 +01:00
__init__.py Moving the extension points code to package as a .deb file 2011-03-28 15:52:43 +01:00
helpers.py Use package_search to display package count of harvester 2017-11-01 08:24:32 +01:00
interfaces.py Hint about rerunning the import_stage. 2015-12-01 17:59:11 +00:00
log.py README updates 2016-05-11 13:29:53 +02:00
plugin.py Merge pull request #298 from ckan/use-api-to-get-dataset-count 2017-11-02 10:31:36 +00:00
queue.py Catch sqlalchemy's DatabaseError in fetch and gather callback 2017-11-02 17:20:31 +01:00