summaryrefslogtreecommitdiff
path: root/src/components/protocol_handler/src/service_status_update_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/protocol_handler/src/service_status_update_handler.cc')
-rw-r--r--src/components/protocol_handler/src/service_status_update_handler.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/protocol_handler/src/service_status_update_handler.cc b/src/components/protocol_handler/src/service_status_update_handler.cc
index b0ffaee9b4..27eb679099 100644
--- a/src/components/protocol_handler/src/service_status_update_handler.cc
+++ b/src/components/protocol_handler/src/service_status_update_handler.cc
@@ -3,6 +3,8 @@
namespace protocol_handler {
+CREATE_LOGGERPTR_GLOBAL(logger_, "ServiceStatusUpdateHandler")
+
hmi_apis::Common_ServiceType::eType GetHMIServiceType(
protocol_handler::ServiceType service_type) {
using namespace hmi_apis;
@@ -76,7 +78,12 @@ void ServiceStatusUpdateHandler::OnServiceUpdate(
Common_ServiceEvent::REQUEST_REJECTED,
update_reason);
}
- default: { return; }
+ default: {
+ LOG4CXX_WARN(logger_,
+ "Received unknown ServiceStatus: "
+ << static_cast<int32_t>(service_status));
+ return;
+ }
}
}
} // namespace protocol_handler