summaryrefslogtreecommitdiffstats
path: root/common/genericresource.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-24 23:44:25 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-24 23:44:25 +0200
commit78a59b874ba088caec06c10761ebacaba3f120b5 (patch)
tree10638a8623b286afbafb10e13b351a84a3f95d01 /common/genericresource.cpp
parent02d36a5f58e9a23163426b8a5aacbe1564b16422 (diff)
downloadsink-78a59b874ba088caec06c10761ebacaba3f120b5.tar.gz
sink-78a59b874ba088caec06c10761ebacaba3f120b5.zip
Warn if an inspection fails
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r--common/genericresource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp
index b32a22b..74e829c 100644
--- a/common/genericresource.cpp
+++ b/common/genericresource.cpp
@@ -334,7 +334,7 @@ GenericResource::GenericResource(const QByteArray &resourceInstanceIdentifier, c
334 emit notify(n); 334 emit notify(n);
335 }, 335 },
336 [=](int code, const QString &message) { 336 [=](int code, const QString &message) {
337 Log() << "Inspection failed: " << inspectionType << inspectionId << entityId << message; 337 Warning_area("resource.inspection") << "Inspection failed: " << inspectionType << inspectionId << entityId << message;
338 Sink::Notification n; 338 Sink::Notification n;
339 n.type = Sink::Commands::NotificationType_Inspection; 339 n.type = Sink::Commands::NotificationType_Inspection;
340 n.message = message; 340 n.message = message;