[Libreoffice-commits] core.git: io/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 5 10:53:40 UTC 2020


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

New commits:
commit a2c7244ae1ea65345ba11c1ce2501dba34b51362
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jun 5 10:29:51 2020 +0200
Commit:     Stephan Bergmann <sbergman at 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 <sbergman at 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 );
                 }


More information about the Libreoffice-commits mailing list