Permalink
Browse files

Fact that logging remote did not succeed should not break tests

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
  • Loading branch information...
1 parent 9713fa0 commit 29766d2e96559e717e21941f5c274cde4910072e @adreghiciu adreghiciu committed with cstamas Nov 15, 2012
@@ -236,7 +236,14 @@ protected Logger remoteLogger()
*/
private void logRemoteThatTestIs( final String doingWhat )
{
- logRemoteThatTestIs( remoteLogger(), doingWhat );
+ try
+ {
+ logRemoteThatTestIs( remoteLogger(), doingWhat );
+ }
+ catch ( final Exception e )
+ {
+ logger.warn( "Failed to log remote that test was '{}' ({})", doingWhat, e.getMessage() );
+ }
}
private void startNexus( final NexusBundle nexusBundle )

0 comments on commit 29766d2

Please sign in to comment.