We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a4825e commit 2491cdfCopy full SHA for 2491cdf
1 file changed
cli/src/main.rs
@@ -137,6 +137,7 @@ fn handle_response<Rs: ::prost::Message>(response: Result<Rs, LdkNodeServerError
137
},
138
Err(e) => {
139
eprintln!("Error executing command: {:?}", e);
140
+ std::process::exit(1); // Exit with status code 1 on error.
141
142
};
143
}
0 commit comments