|
|
@ -103,8 +103,8 @@ def run(debug):
|
|
|
|
user_info in error_message):
|
|
|
|
user_info in error_message):
|
|
|
|
print(error_message)
|
|
|
|
print(error_message)
|
|
|
|
finally:
|
|
|
|
finally:
|
|
|
|
requests.post("http://" + os.environ["ADMIN_ADDRESS"] + "/internal/fetch/{}".format(fetch["id"]),
|
|
|
|
requests.post("http://{}/internal/fetch/{}".format(os.environ['ADMIN_ADDRESS'],fetch['id']),
|
|
|
|
json=error_message.split("\n")[0]
|
|
|
|
json=error_message.split('\n')[0]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
except Exception:
|
|
|
|
except Exception:
|
|
|
|
traceback.print_exc()
|
|
|
|
traceback.print_exc()
|
|
|
|