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

Caolán McNamara caolanm at redhat.com
Thu Nov 7 13:33:25 CET 2013


 desktop/source/app/appinit.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0cd6fc9cfbe485c19ea80124a8c87e4d8e14f813
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 7 12:08:01 2013 +0000

    make the error not a secret
    
    Change-Id: I4ee261bd1dc2c63f0b54e19a2684c8bf1c221680

diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx
index 43b186f..465b266 100644
--- a/desktop/source/app/appinit.cxx
+++ b/desktop/source/app/appinit.cxx
@@ -183,11 +183,11 @@ void Desktop::createAcceptor(const OUString& aAcceptString)
                 rAcceptor->initialize( aSeq );
                 rMap.insert(AcceptorMap::value_type(aAcceptString, rAcceptor));
             }
-            catch (const com::sun::star::uno::Exception&)
+            catch (const com::sun::star::uno::Exception& e)
             {
                 // no error handling needed...
                 // acceptor just won't come up
-                SAL_WARN( "desktop.app", "Acceptor could not be created.");
+                SAL_WARN( "desktop.app", "Acceptor could not be created: " << e.Message);
             }
         }
         else


More information about the Libreoffice-commits mailing list