diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-09 18:49:06 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-09 18:49:06 +0100 |
| commit | f140744e626ca9b1af8097f43cc67201dcce59d1 (patch) | |
| tree | f4ea2c4a2a8d97b6d5035d695d58b7fadecb7348 /api.py | |
| parent | bc54c1ebd5b7a7f4b80ebff6636098d0d63e959c (diff) | |
| download | apigrabber-f140744e626ca9b1af8097f43cc67201dcce59d1.tar.gz apigrabber-f140744e626ca9b1af8097f43cc67201dcce59d1.zip | |
do not rollback after API 404
Diffstat (limited to 'api.py')
| -rw-r--r-- | api.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -66,7 +66,8 @@ class Apigrabber(joblib.worker.Worker): except crawler.ApiError as error: logging.warning("%s: API returned error '%s'", jobid, error.args[0]) - raise joblib.worker.JobFailed(error.args[0]) + raise joblib.worker.JobFailed(error.args[0], + False) # not critical async def startup(): |
