I have the following method:
public IActionResult DoSomeThing() { try { Some code... } catch (Exception)