add exception log in _on_command_error