io/source/connector/connector.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a2c7244ae1ea65345ba11c1ce2501dba34b51362
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Jun 5 10:29:51 2020 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Jun 5 12:53:05 2020 +0200

    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 <sberg...@redhat.com>

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 );
                 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to