mirror of
https://github.com/nushell/nushell.git
synced 2025-07-11 11:55:10 +02:00
improve error messages
This commit is contained in:
@ -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,
|
||||
))
|
||||
|
Reference in New Issue
Block a user