Пример #1
0
 private static void SendFatalException(
     [NotNull] Exception exception,
     IServerStreamWriter <StandaloneVerificationResponse> responseStream)
 {
     MessagingUtils.SendResponse(responseStream,
                                 new StandaloneVerificationResponse()
     {
         Message = new LogMsg()
         {
             Message      = exception.Message,
             MessageLevel = Level.Error.Value
         },
         ServiceCallStatus = (int)ServiceCallStatus.Failed
     });
 }