summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-17 11:48:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-17 11:48:20 +0200
commita01ef1978cb0c6a8a721ca543495deb0adfcb7b9 (patch)
treecac32e70366a9665634551c2068227c4770a8ef7
parent27d5b5c6dd21dd123fad71cf01880299ef969b49 (diff)
Improve logging
Change-Id: I9c879cc16de0d5353a5ab8ce4c8a8cd7f000a170
-rw-r--r--include/sal/log-areas.dox1
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx4
2 files changed, 4 insertions, 1 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox
index 691fae08cd7a..60a1af51339a 100644
--- a/include/sal/log-areas.dox
+++ b/include/sal/log-areas.dox
@@ -494,6 +494,7 @@ certain functionality.
@li @c reportdesign
@li @c rsc
@li @c sax
+@li @c scripting.provider
@li @c shell
@li @c stoc
@li @c store
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index 8f59d97bfba7..ced3d0bc8b59 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -540,8 +540,10 @@ MasterScriptProvider::insertByName( const OUString& aName, const Any& aElement )
xCont->insertByName( aName, aElement );
break;
}
- catch ( Exception& )
+ catch ( Exception& e )
{
+ SAL_INFO(
+ "scripting.provider", "ignoring Exception " << e.Message);
}
}