summaryrefslogtreecommitdiffstats
path: root/common/domain
diff options
context:
space:
mode:
Diffstat (limited to 'common/domain')
-rw-r--r--common/domain/applicationdomaintype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp
index 75438d5..1647951 100644
--- a/common/domain/applicationdomaintype.cpp
+++ b/common/domain/applicationdomaintype.cpp
@@ -150,7 +150,7 @@ QByteArray ApplicationDomainType::getBlobProperty(const QByteArray &key) const
150 const auto path = getProperty(key).value<BLOB>().value; 150 const auto path = getProperty(key).value<BLOB>().value;
151 QFile file(path); 151 QFile file(path);
152 if (!file.open(QIODevice::ReadOnly)) { 152 if (!file.open(QIODevice::ReadOnly)) {
153 SinkError() << "Failed to open the file: " << file.errorString() << path; 153 SinkError() << "Failed to open the file for reading: " << file.errorString() << path << " For property " << key;
154 return QByteArray(); 154 return QByteArray();
155 } 155 }
156 return file.readAll(); 156 return file.readAll();
@@ -161,7 +161,7 @@ void ApplicationDomainType::setBlobProperty(const QByteArray &key, const QByteAr
161 const auto path = Sink::temporaryFileLocation() + "/" + QUuid::createUuid().toString(); 161 const auto path = Sink::temporaryFileLocation() + "/" + QUuid::createUuid().toString();
162 QFile file(path); 162 QFile file(path);
163 if (!file.open(QIODevice::WriteOnly)) { 163 if (!file.open(QIODevice::WriteOnly)) {
164 SinkError() << "Failed to open the file: " << file.errorString() << path; 164 SinkError() << "Failed to open the file for writing: " << file.errorString() << path<< " For property " << key;
165 return; 165 return;
166 } 166 }
167 file.write(value); 167 file.write(value);