mirror of
https://github.com/nushell/nushell.git
synced 2025-06-19 17:38:14 +02:00
improve error messages
This commit is contained in:
parent
69a73dfe1b
commit
ed7a00a0e4
@ -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,
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user