mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
fix: inline error formatting
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
This commit is contained in:
parent
3ffc914bf5
commit
d02683f622
1 changed files with 2 additions and 4 deletions
|
@ -80,10 +80,8 @@ pub async fn show_interface(cmd: Command) -> Result<ExitCode> {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
eprintln!("REPL ERROR: {}", err.to_string());
|
eprintln!("REPL ERROR: {err}");
|
||||||
|
return Ok(ExitCode::FAILURE);
|
||||||
// This isn't a good way to exit imo, once again
|
|
||||||
exit(1);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue