bootstrap: Output name of failed config in case of errors
This commit is contained in:
parent
8d19877ece
commit
cf05cd8abf
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ impl Config {
|
|||
let table = match p.parse() {
|
||||
Some(table) => table,
|
||||
None => {
|
||||
println!("failed to parse TOML configuration:");
|
||||
println!("failed to parse TOML configuration '{}':", file.to_str().unwrap());
|
||||
for err in p.errors.iter() {
|
||||
let (loline, locol) = p.to_linecol(err.lo);
|
||||
let (hiline, hicol) = p.to_linecol(err.hi);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue