diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/storage_common.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/storage_common.cpp b/common/storage_common.cpp index 5d787d8..264f223 100644 --- a/common/storage_common.cpp +++ b/common/storage_common.cpp | |||
@@ -127,6 +127,7 @@ QByteArray DataStore::getUidFromRevision(const DataStore::Transaction &transacti | |||
127 | return false; | 127 | return false; |
128 | }, | 128 | }, |
129 | [revision](const Error &error) { SinkWarning() << "Couldn't find uid for revision: " << revision << error.message; }); | 129 | [revision](const Error &error) { SinkWarning() << "Couldn't find uid for revision: " << revision << error.message; }); |
130 | Q_ASSERT(!uid.isEmpty()); | ||
130 | return uid; | 131 | return uid; |
131 | } | 132 | } |
132 | 133 | ||
@@ -140,6 +141,7 @@ QByteArray DataStore::getTypeFromRevision(const DataStore::Transaction &transact | |||
140 | return false; | 141 | return false; |
141 | }, | 142 | }, |
142 | [revision](const Error &error) { SinkWarning() << "Couldn't find type for revision " << revision; }); | 143 | [revision](const Error &error) { SinkWarning() << "Couldn't find type for revision " << revision; }); |
144 | Q_ASSERT(!type.isEmpty()); | ||
143 | return type; | 145 | return type; |
144 | } | 146 | } |
145 | 147 | ||