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:
parent
898f5af57e
commit
bcd5e2fa0b
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class Proxmox:
|
||||||
"target": "{0}".format(nodename),
|
"target": "{0}".format(nodename),
|
||||||
"type": "PROXMOX - STATUS CODE",
|
"type": "PROXMOX - STATUS CODE",
|
||||||
"value": "Error creating Container. Bad HTTP 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:
|
except (TypeError, ValueError, requests.exceptions.RequestException) as e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue