logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpsen...@apache.org
Subject svn commit: r1512181 - /logging/log4net/trunk/tests/src/Appender/RemotingAppenderTest.cs
Date Fri, 09 Aug 2013 07:12:34 GMT
Author: dpsenner
Date: Fri Aug  9 07:12:34 2013
New Revision: 1512181

URL: http://svn.apache.org/r1512181
Log:
Bail when the registration of the remoting channel fails

Otherwise one does not know why the subsequent tests are failing.

Modified:
    logging/log4net/trunk/tests/src/Appender/RemotingAppenderTest.cs

Modified: logging/log4net/trunk/tests/src/Appender/RemotingAppenderTest.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/tests/src/Appender/RemotingAppenderTest.cs?rev=1512181&r1=1512180&r2=1512181&view=diff
==============================================================================
--- logging/log4net/trunk/tests/src/Appender/RemotingAppenderTest.cs (original)
+++ logging/log4net/trunk/tests/src/Appender/RemotingAppenderTest.cs Fri Aug  9 07:12:34 2013
@@ -213,8 +213,9 @@ namespace log4net.Tests.Appender
 					ChannelServices.RegisterChannel(m_remotingChannel);
 #endif
 				}
-				catch(Exception)
+				catch(Exception ex)
 				{
+					Assert.Fail("Failed to set up LoggingSink: {0}", ex);
 				}
 
 				// Marshal the sink object



Mime
View raw message