From f29b68430d764ac657ef56358a47b4ccdd62ec64 Mon Sep 17 00:00:00 2001
From: Auke Klazema <klazema@astron.nl>
Date: Wed, 27 Feb 2019 15:25:56 +0000
Subject: [PATCH] SW-597: Display correct service name in error log message.

---
 SAS/Feedback_Service/src/Feedback.cc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/SAS/Feedback_Service/src/Feedback.cc b/SAS/Feedback_Service/src/Feedback.cc
index a5c17f33945..76ec99cca9e 100644
--- a/SAS/Feedback_Service/src/Feedback.cc
+++ b/SAS/Feedback_Service/src/Feedback.cc
@@ -135,7 +135,7 @@ GCFEvent::TResult Feedback::connect2OTDB_state(GCFEvent& event, GCFPortInterface
         }
         catch(LOFAR::APSException& ex)
         {
-          LOG_ERROR_STR("SASGateway code caught an exception while trying to "
+          LOG_ERROR_STR("FeedbackService code caught an exception while trying to "
                         "read the OTDB database name from its configuration file:  "
                         << ex.what());
           throw(ex);
@@ -147,7 +147,7 @@ GCFEvent::TResult Feedback::connect2OTDB_state(GCFEvent& event, GCFPortInterface
         }
         catch(LOFAR::APSException& ex)
         {
-          LOG_ERROR_STR("SASGateway code caught an exception while trying to "
+          LOG_ERROR_STR("FeedbackService code caught an exception while trying to "
                         "read the OTDB database server host name from its configuration file:  "
                         << ex.what());
           throw(ex);
@@ -159,7 +159,7 @@ GCFEvent::TResult Feedback::connect2OTDB_state(GCFEvent& event, GCFPortInterface
         }
         catch(LOFAR::APSException& ex)
         {
-          LOG_ERROR_STR("SASGateway code caught an exception while trying to "
+          LOG_ERROR_STR("FeedbackService code caught an exception while trying to "
                         "read the OTDB database user name from its configuration file:  "
                         << ex.what());
           throw(ex);
@@ -171,7 +171,7 @@ GCFEvent::TResult Feedback::connect2OTDB_state(GCFEvent& event, GCFPortInterface
         }
         catch(LOFAR::APSException& ex)
         {
-          LOG_ERROR_STR("SASGateway code caught an exception while trying to "
+          LOG_ERROR_STR("FeedbackService code caught an exception while trying to "
                         "read the OTDB database password from its configuration file:  "
                         << ex.what());
           throw(ex);
@@ -183,7 +183,7 @@ GCFEvent::TResult Feedback::connect2OTDB_state(GCFEvent& event, GCFPortInterface
         }
         catch(LOFAR::APSException& ex)
         {
-          LOG_ERROR_STR("SASGateway code caught an exception while trying to "
+          LOG_ERROR_STR("FeedbackService code caught an exception while trying to "
                         "read the OTDB database server port from its configuration file:  "
                         << ex.what());
           throw(ex);
-- 
GitLab