You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2013/08/09 09:12:34 UTC

svn commit: r1512181 - /logging/log4net/trunk/tests/src/Appender/RemotingAppenderTest.cs

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