File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Akka.MultiNode.NodeRunner Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ static int Main(string[] args)
129129 specFail . FailureStackTraces . Add ( innerEx . StackTrace ) ;
130130 }
131131
132- _logger . Tell ( specFail . ToString ( ) ) ;
132+ _logger ? . Tell ( specFail . ToString ( ) ) ;
133133 Console . WriteLine ( specFail ) ;
134134
135135 //make sure message is send over the wire
@@ -152,7 +152,7 @@ static int Main(string[] args)
152152 innerEx = innerEx . InnerException ;
153153 }
154154
155- _logger . Tell ( specFail . ToString ( ) ) ;
155+ _logger ? . Tell ( specFail . ToString ( ) ) ;
156156 Console . WriteLine ( specFail ) ;
157157
158158 //make sure message is send over the wire
@@ -173,7 +173,7 @@ private static void FlushLogMessages()
173173 {
174174 try
175175 {
176- _logger . GracefulStop ( TimeSpan . FromSeconds ( 2 ) ) . Wait ( ) ;
176+ _logger ? . GracefulStop ( TimeSpan . FromSeconds ( 2 ) ) . Wait ( ) ;
177177 }
178178 catch
179179 {
You can’t perform that action at this time.
0 commit comments