From a2c7244ae1ea65345ba11c1ce2501dba34b51362 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 5 Jun 2020 10:29:51 +0200 Subject: 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 --- io/source/connector/connector.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io') 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 ); } -- cgit