misc: more common line/col formatting
This commit is contained in:
parent
4dfa764603
commit
50b0ab56cb
|
@ -266,14 +266,14 @@ mod conf {
|
|||
}
|
||||
serde_json::error::Category::Syntax => panic!(
|
||||
"Configuration file is syntactically incorrect.
|
||||
See {}:line {}, column {}.",
|
||||
See {}:{}:{}.",
|
||||
config_file_name,
|
||||
err.line(),
|
||||
err.column()
|
||||
),
|
||||
serde_json::error::Category::Data => panic!(
|
||||
"Error deserializing configuration file; expected different data type.
|
||||
See {}:line {}, column {}.",
|
||||
See {}:{}:{}.",
|
||||
config_file_name,
|
||||
err.line(),
|
||||
err.column()
|
||||
|
|
Loading…
Reference in New Issue