public async Task Run(IStep step) { await logger.Enter(step); try { await logger.LogClean(step); } catch (Exception) {} await logger.Exit(step); }
public async Task Run(IStep step) { await logger.Enter(step); try { await logger.LogCheck(step); return; } catch (Exception) {} try { await logger.LogClean(step); } catch (Exception e4) { throw new StepException(step, e4); } try { await logger.LogRun(step); } catch (Exception e4) { throw new StepException(step, e4); } // Check after run try { await logger.LogCheck(step); } catch (Exception e4) { throw new StepException(step, e4); } await logger.Exit(step); }