From bcd5e2fa0b1d9c1315a906378510ef88de89ca80 Mon Sep 17 00:00:00 2001 From: "thomas.guiseppin" Date: Sun, 29 Oct 2017 16:04:56 +0100 Subject: [PATCH] Patch: Error managment --- code/scripts/main/core/modules/mod_proxmox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/scripts/main/core/modules/mod_proxmox.py b/code/scripts/main/core/modules/mod_proxmox.py index d65f241..e2efe89 100644 --- a/code/scripts/main/core/modules/mod_proxmox.py +++ b/code/scripts/main/core/modules/mod_proxmox.py @@ -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: