[source,csharp,diff-id=1,diff-type=noncompliant] ---- try {} catch (Exception ex) { logger.LogError(ex.Message); throw; } ----