Ensure non-zero exit code if 'balance' command fails
This commit is contained in:
@ -243,6 +243,7 @@ fn process_command(
|
|||||||
}
|
}
|
||||||
Err(error) => {
|
Err(error) => {
|
||||||
println!("An error occurred: {:?}", error);
|
println!("An error occurred: {:?}", error);
|
||||||
|
Err(error)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user