improve error messages

This commit is contained in:
Loïc Riegel 2025-03-30 18:50:24 +02:00
parent 69a73dfe1b
commit ed7a00a0e4

View File

@ -689,8 +689,8 @@ fn parse_timezone_from_record(
return Err(Value::error(
ShellError::IncorrectValue {
msg: "invalid timezone".to_string(),
val_span: *head,
call_span: *internal_span,
val_span: *internal_span,
call_span: *head,
},
*span,
))