this looks inconsistent and also doesn't really simplify this, here you are extracting logging an exception, a few lines above (line 182) you inline a similar method call. I think you should rather stick with the inlined method call even if this is used twice.