public void Notify(IExecutionEntity execution) { try { execution.WriteDebugLog(); } catch (Exception ex) { logger.LogError(ex, ex.Message); } }
public override void Execute(IExecutionEntity execution) { try { execution.WriteDebugLog(); Leave(execution); } catch (Exception exc) { logger.LogError($"execution {execution.ActivityId} failed,exception: {exc.Message}"); } }