diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-02-10 22:35:59 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-02-10 23:45:13 +0100 |
commit | 7f3a7f05662205df0f195c0f3ba9671f10760da9 (patch) | |
tree | 2e733d8ba5578fe5864a216dfe4f9851cd6e5c42 /io | |
parent | c21779746a9e32d4d8a1850787dd158338b4d071 (diff) |
io: warn if OConnector can't connect to pipe
Change-Id: I536177e7fbc2a8bb120db786722b71cc77c039a4
Diffstat (limited to 'io')
-rw-r--r-- | io/source/connector/connector.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index a09909519da7..228977e3634d 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -91,11 +91,10 @@ namespace stoc_connector } else { - OUString sMessage("Connector : couldn't connect to pipe "); - sMessage += aName; - sMessage += "("; - sMessage += OUString::number( pConn->m_pipe.getError() ); - sMessage += ")"; + OUString const sMessage( + "Connector : couldn't connect to pipe " + aName + "(" + + OUString::number(pConn->m_pipe.getError()) + ")"); + SAL_WARN("io.connector", sMessage); delete pConn; throw NoConnectException( sMessage ); } |