diff --git a/MeshLib/Mesh.cpp b/MeshLib/Mesh.cpp
index bb65d0a02ff720f5ede7995db93852e6e6eb8919..d87dcd9f6e73e1a6d1d500d353c5ec2c324713cc 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;
         }
     }