From 612d382004e2ba46f694349198fdc2cd43787414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com> Date: Tue, 11 Jun 2013 12:19:49 +0200 Subject: [PATCH] Improve error message. --- slapos/format.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/slapos/format.py b/slapos/format.py index 98a91fc98..a0a79319c 100644 --- a/slapos/format.py +++ b/slapos/format.py @@ -258,8 +258,9 @@ class Computer(object): try: slap_computer.updateConfiguration(xml_marshaller.xml_marshaller.dumps(_getDict(self))) except slap.NotFoundError as error: - raise slap.NotFoundError("%s\nERROR : This SlapOS node is not recognised by " - "SlapOS Master. Please make sure computer_id of slapos.cfg looks " + raise slap.NotFoundError("%s\nERROR: This SlapOS node is not recognised by " + "SlapOS Master and/or computer_id and certificates don't match. " + "Please make sure computer_id of slapos.cfg looks " "like 'COMP-123' and is correct.\nError is : 404 Not Found." % error) def dump(self, path_to_xml, path_to_json, logger): -- 2.30.9