summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-05 10:29:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-05 12:53:05 +0200
commita2c7244ae1ea65345ba11c1ce2501dba34b51362 (patch)
tree6e40fe53fb82ebae913693da235216015a00532a /io
parent017862727a19f419313eead325f1dbc2936088ed (diff)
Make it more obvious that the error message is composed
...from a pipe name and an error number Change-Id: I1e79c1d635fd7f51faf9ede09ca862b37bd7b990 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95577 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'io')
-rw-r--r--io/source/connector/connector.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx
index 0f4792f3aa8e..f5b77a43cb7d 100644
--- a/io/source/connector/connector.cxx
+++ b/io/source/connector/connector.cxx
@@ -92,8 +92,8 @@ namespace stoc_connector
else
{
OUString const sMessage(
- "Connector : couldn't connect to pipe " + aName + "("
- + OUString::number(pConn->m_pipe.getError()) + ")");
+ "Connector : couldn't connect to pipe \"" + aName + "\": "
+ + OUString::number(pConn->m_pipe.getError()));
SAL_WARN("io.connector", sMessage);
throw NoConnectException( sMessage );
}