[update] Mention failed line on parse error.

main
Shinyzenith 2 years ago
parent 44568d19fc
commit 078135bc55
No known key found for this signature in database
GPG Key ID: A3DFCDC66E9E2950

@ -62,8 +62,8 @@ pub fn main() {
log::debug!("{} Keyboard device(s) detected.", keyboard_devices.len());
let hotkeys = match config::load(config_file_path) {
Err(..) => {
log::error!("Error: failed to parse config file.");
Err(e) => {
log::error!("Error: failed to parse config file at line {:#?}", e);
exit(1);
}
Ok(out) => out,

Loading…
Cancel
Save