1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-03-09 15:40:18 +00:00

Patch: Error managment

This commit is contained in:
thomas.guiseppin 2017-10-29 16:04:56 +01:00
parent 898f5af57e
commit bcd5e2fa0b

View file

@ -268,7 +268,7 @@ class Proxmox:
"target": "{0}".format(nodename),
"type": "PROXMOX - STATUS CODE",
"value": "Error creating Container. Bad HTTP Status code : "
"{0} -- {1}".format(createvm.status_code, createvm.text)
"{0} -- {1} -- with data: {2} -- Possible problem: Duplicate entry".format(createvm.status_code, createvm.text, data)
}
except (TypeError, ValueError, requests.exceptions.RequestException) as e: