Commit 804cf58a authored by Simon Goller's avatar Simon Goller Committed by Rahix
Browse files

Let the system fail with error messages

The system result handling will pass the string representation of the
error to the panic macro.
parent 9e09249d
......@@ -34,7 +34,7 @@ pub fn handle_system_result<F>(mut f: F)
F: FnMut() -> anyhow::Result<()>,
if let Err(_) = f() {
if let Err(err) = f() {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment