From 14a2efe1ff30ad28f11f4beb002222a319cf2363 Mon Sep 17 00:00:00 2001
From: Norihiro Watanabe <norihiro.watanabe@ufz.de>
Date: Mon, 7 Nov 2016 07:50:50 +0100
Subject: [PATCH] [Mesh] improve the log

---
 MeshLib/Mesh.cpp | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/MeshLib/Mesh.cpp b/MeshLib/Mesh.cpp
index bb65d0a02ff..d87dcd9f6e7 100644
--- a/MeshLib/Mesh.cpp
+++ b/MeshLib/Mesh.cpp
@@ -273,12 +273,10 @@ void Mesh::checkNonlinearNodeIDs() const
             if (e->getNodeIndex(i) >= getNumberOfBaseNodes())
                 continue;
 
-            DBUG(
-                "Node %d is a non-linear node, but the ID is smaller "
-                "than the number of base nodes %d.",
+            ERR("Found a nonlinear node whose ID (%d) is smaller than the "
+                "number of base node IDs (%d)."
+                "Some functions may not work properly.",
                 e->getNodeIndex(i), getNumberOfBaseNodes());
-            ERR("Found a nonlinear node whose ID is smaller than base node IDs."
-                "Some functions may not work properly.");
             return;
         }
     }
-- 
GitLab