public void Notify(IExecutionEntity execution)
 {
     try
     {
         execution.WriteDebugLog();
     }
     catch (Exception ex)
     {
         logger.LogError(ex, ex.Message);
     }
 }
Esempio n. 2
0
        public override void Execute(IExecutionEntity execution)
        {
            try
            {
                execution.WriteDebugLog();

                Leave(execution);
            }
            catch (Exception exc)
            {
                logger.LogError($"execution {execution.ActivityId} failed,exception: {exc.Message}");
            }
        }