commit 2c538c242fbcc76686487348cf8c80d33f326d0e
Author: Christian Ehringfeld <c.ehringfeld@mailbox.org>
Date:   Sat Jul 14 17:46:29 2018 +0200

    ..

diff --git a/src/relations/hasmany.cpp b/src/relations/hasmany.cpp
index 16600e3..a549320 100644
--- a/src/relations/hasmany.cpp
+++ b/src/relations/hasmany.cpp
@@ -52,11 +52,7 @@ void HasMany::missingTable(const QString &tblName) {
     QString text = "MANY_TO_MANY Table " + tblName + " is missing.\n" +
             "Entity " + EntityHelper::getClassName(this->entity.data()) +
             " is affected.\n" + "Relation of property: " + this->relation.getPropertyName();
-#ifdef QT_DEBUG
     throw QString(text);
-#else
-    this->logger->logMsg(text, MsgType::CRITICAL);
-#endif
 }
 
 void HasMany::persistMappedByRelation(const QList<QSharedPointer<Entity>>
