From 6e0f7e2f0f81ed36e0c3068ef3d8865da78af50b Mon Sep 17 00:00:00 2001 From: real-name Date: Tue, 22 Jul 2008 13:23:33 +0000 Subject: [PATCH] Bug partially fixed from to ticket #30, now the parsing error is showed in the STDOUT... git-svn-id: http://svn.opennebula.org/trunk@66 3034c82b-c49b-4eb3-8279-a7acafdc01c0 --- src/nebula/NebulaTemplate.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/nebula/NebulaTemplate.cc b/src/nebula/NebulaTemplate.cc index 1563b90dcd..a97ed752fc 100644 --- a/src/nebula/NebulaTemplate.cc +++ b/src/nebula/NebulaTemplate.cc @@ -99,7 +99,9 @@ int NebulaTemplate::load_configuration() if ( rc != 0 ) { - Nebula::log("ONE",Log::ERROR,error); + + std::cout << "\nError while parsing configuration file:\n" << error << std::endl; + free(error); return -1;