diff options
Diffstat (limited to 'src/profiling/ProfilingService.cpp')
-rw-r--r-- | src/profiling/ProfilingService.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/profiling/ProfilingService.cpp b/src/profiling/ProfilingService.cpp index 0c33ca0e7d..f111de15db 100644 --- a/src/profiling/ProfilingService.cpp +++ b/src/profiling/ProfilingService.cpp @@ -7,6 +7,7 @@ #include <armnn/BackendId.hpp> #include <armnn/Logging.hpp> +#include <common/include/SocketConnectionException.hpp> #include <boost/format.hpp> @@ -128,6 +129,11 @@ void ProfilingService::Update() ARMNN_LOG(warning) << "An error has occurred when creating the profiling connection: " << e.what(); } + catch (const armnnProfiling::SocketConnectionException& e) + { + ARMNN_LOG(warning) << "An error has occurred when creating the profiling connection [" + << e.what() << "] on socket [" << e.GetSocketFd() << "]."; + } // Move to the next state m_StateMachine.TransitionToState(m_ProfilingConnection |