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 | |
| parent | bc54c1ebd5b7a7f4b80ebff6636098d0d63e959c (diff) | |
| download | apigrabber-f140744e626ca9b1af8097f43cc67201dcce59d1.tar.gz apigrabber-f140744e626ca9b1af8097f43cc67201dcce59d1.zip | |
do not rollback after API 404
| -rw-r--r-- | api.py | 3 | ||||
| m--------- | joblib | 0 |
2 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(): diff --git a/joblib b/joblib -Subproject 7fa00a9e4f2723f7d93fc1ecc8369ccbbc9e4f7 +Subproject 535a14f4ea1973eaabcaf4624604a42335b1598 |
