Display last_error if state is failed.