The fallback swallows the YAML failure, so the outer yaml_env_refresh never unwinds; only abort_yaml_env_refresh undoes the partial write.
The fallback swallows the YAML failure, so the outer yaml_env_refresh never unwinds; only abort_yaml_env_refresh undoes the partial write.