ToastFreeware
/
toast
/
confclerk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
activities tab implemented - need to fit gui, functionality works fine
[toast/confclerk.git]
/
src
/
orm
/
ormrecord.h
diff --git
a/src/orm/ormrecord.h
b/src/orm/ormrecord.h
index 35900758e29dcb273749fc84c9e7863d8f80d118..ae848eab30745a33093a9fb8745ced1ded8c9848 100644
(file)
--- a/
src/orm/ormrecord.h
+++ b/
src/orm/ormrecord.h
@@
-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());
}
}