summaryrefslogtreecommitdiffstats
path: root/common/storage_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/storage_common.cpp')
-rw-r--r--common/storage_common.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/storage_common.cpp b/common/storage_common.cpp
index 27139ee..d8b1f42 100644
--- a/common/storage_common.cpp
+++ b/common/storage_common.cpp
@@ -80,7 +80,7 @@ qint64 DataStore::maxRevision(const DataStore::Transaction &transaction)
80 }, 80 },
81 [](const Error &error) { 81 [](const Error &error) {
82 if (error.code != DataStore::NotFound) { 82 if (error.code != DataStore::NotFound) {
83 SinkWarning() << "Coultn'd find the maximum revision."; 83 SinkWarning() << "Couldn't find the maximum revision: " << error;
84 } 84 }
85 }); 85 });
86 return r; 86 return r;
@@ -101,7 +101,7 @@ qint64 DataStore::cleanedUpRevision(const DataStore::Transaction &transaction)
101 }, 101 },
102 [](const Error &error) { 102 [](const Error &error) {
103 if (error.code != DataStore::NotFound) { 103 if (error.code != DataStore::NotFound) {
104 SinkWarning() << "Coultn'd find the maximum revision."; 104 SinkWarning() << "Couldn't find the cleanedUpRevision: " << error;
105 } 105 }
106 }); 106 });
107 return r; 107 return r;
@@ -116,7 +116,7 @@ QByteArray DataStore::getUidFromRevision(const DataStore::Transaction &transacti
116 uid = value; 116 uid = value;
117 return false; 117 return false;
118 }, 118 },
119 [revision](const Error &error) { SinkWarning() << "Coultn'd find uid for revision: " << revision << error.message; }); 119 [revision](const Error &error) { SinkWarning() << "Couldn't find uid for revision: " << revision << error.message; });
120 return uid; 120 return uid;
121} 121}
122 122
@@ -129,7 +129,7 @@ QByteArray DataStore::getTypeFromRevision(const DataStore::Transaction &transact
129 type = value; 129 type = value;
130 return false; 130 return false;
131 }, 131 },
132 [revision](const Error &error) { SinkWarning() << "Coultn'd find type for revision " << revision; }); 132 [revision](const Error &error) { SinkWarning() << "Couldn't find type for revision " << revision; });
133 return type; 133 return type;
134} 134}
135 135