public void Handle( FailureMessage fail ) { IncrementMessagesReceived(); var exception = fail.Cause; if ( exception is AggregateException ) { var agg = ( AggregateException )exception; exception = agg.InnerException; agg.Handle( exception1 => true ); } Context.Parent.Tell( new StatusMessage( "Error " + fail.Child.Path + " " + exception != null ? exception.Message : "no exception object" ) ); }
public void Handle( FailureMessage fail ) { IncrementMessagesReceived(); Context.Parent.Tell( fail ); }