mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36: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)
|
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:
|
except Exception as e:
|
||||||
logger.error("Exception while sending file_list chunk: " + str(e))
|
logger.error("Exception while sending file_list chunk: " + str(e))
|
||||||
pass
|
pass
|
||||||
@ -75,7 +75,7 @@ class TaskManager:
|
|||||||
}
|
}
|
||||||
|
|
||||||
r = requests.post(config.SERVER_URL + "/task/complete", data=payload)
|
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):
|
if os.path.exists(filename):
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user