Avoid wrapping exception - patch by Brian Stansberry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@190569 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -878,6 +878,10 @@ public class LogFactoryImpl extends LogFactory {
|
|||||||
+ ": "
|
+ ": "
|
||||||
+ msg.trim());
|
+ msg.trim());
|
||||||
break;
|
break;
|
||||||
|
} catch(LogConfigurationException e) {
|
||||||
|
// call to handleFlawedHierarchy above must have thrown
|
||||||
|
// a LogConfigurationException, so just throw it on
|
||||||
|
throw e;
|
||||||
} catch(Throwable t) {
|
} catch(Throwable t) {
|
||||||
// handleFlawedDiscovery will determine whether this is a fatal
|
// handleFlawedDiscovery will determine whether this is a fatal
|
||||||
// problem or not. If it is fatal, then a LogConfigurationException
|
// problem or not. If it is fatal, then a LogConfigurationException
|
||||||
|
|||||||
Reference in New Issue
Block a user