Log exception only for unknown errors