mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 10:26:44 +00:00
More debug info
This commit is contained in:
parent
8dc8627f78
commit
d42be56dee
@ -63,7 +63,7 @@ class TaskManager:
|
||||
}
|
||||
|
||||
r = requests.post(config.SERVER_URL + "/task/upload", data=payload, files=files)
|
||||
logger.info("RESPONSE: " + r.text)
|
||||
logger.info("RESPONSE: " + r.text + "<" + str(r.status_code) + ">")
|
||||
except Exception as e:
|
||||
logger.error("Exception while sending file_list chunk: " + str(e))
|
||||
pass
|
||||
@ -75,7 +75,7 @@ class TaskManager:
|
||||
}
|
||||
|
||||
r = requests.post(config.SERVER_URL + "/task/complete", data=payload)
|
||||
logger.info("RESPONSE: " + r.text)
|
||||
logger.info("RESPONSE: " + r.text + "<" + str(r.status_code) + ">")
|
||||
|
||||
if os.path.exists(filename):
|
||||
os.remove(filename)
|
||||
|
Loading…
x
Reference in New Issue
Block a user