From 78a59b874ba088caec06c10761ebacaba3f120b5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 24 May 2016 23:44:25 +0200 Subject: Warn if an inspection fails --- common/genericresource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/genericresource.cpp') 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 emit notify(n); }, [=](int code, const QString &message) { - Log() << "Inspection failed: " << inspectionType << inspectionId << entityId << message; + Warning_area("resource.inspection") << "Inspection failed: " << inspectionType << inspectionId << entityId << message; Sink::Notification n; n.type = Sink::Commands::NotificationType_Inspection; n.message = message; -- cgit v1.2.3