Expect the settings source path in parser errors

This commit is contained in:
Scott Werner 2026-10-23 10:34:40 -04:00
parent d374ef0ec1
commit a98d5be8ff

View file

@ -732,7 +732,10 @@ key = "value"
panic!("unknown settings key should fail");
};
assert_eq!(error.to_string(), "Failed to parse run config TOML");
assert_eq!(
error.to_string(),
"Failed to parse run config TOML at flows/workflow.toml"
);
let source = error
.source()
.expect("parse error should retain the TOML source");