I think logging is useful for every exception.  Maybe move this out of the if blocks and add another logging param, e.g.:

  "exception" => get_class($e),