Do not discard throwables when logging errors.