only fill error_str in case of real error