activities tab implemented - need to fit gui, functionality works fine
[toast/confclerk.git] / src / orm / ormrecord.h
index 35900758e29dcb273749fc84c9e7863d8f80d118..ae848eab30745a33093a9fb8745ced1ded8c9848 100644 (file)
@@ -139,6 +139,7 @@ QList<T> OrmRecord<T>::load(QSqlQuery query)
     {
         if (!query.exec())
         {
+            qDebug() << "Error: " << query.lastError().driverText() << "; Type: " << query.lastError().type();
             throw new OrmSqlException(query.lastError().text());
         }
     }