From f140744e626ca9b1af8097f43cc67201dcce59d1 Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 9 Mar 2017 18:49:06 +0100 Subject: do not rollback after API 404 --- api.py | 3 ++- joblib | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api.py b/api.py index 19ea541..1d7e863 100644 --- a/api.py +++ b/api.py @@ -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 index 7fa00a9..535a14f 160000 --- a/joblib +++ b/joblib @@ -1 +1 @@ -Subproject commit 7fa00a9e4f2723f7d93fc1ecc8369ccbbc9e4f76 +Subproject commit 535a14f4ea1973eaabcaf4624604a42335b15981 -- cgit v1.3.1