mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 13:21:01 +00:00
Handle SIGTERM for the docker containers + relay (#1735)
* Handle SIGTERM for some docker containers * Implement SIGTERM handling for the relay
This commit is contained in:
committed by
Bastian Köcher
parent
e47f1e42e0
commit
9495e1cfcb
@@ -24,8 +24,5 @@ mod cli;
|
||||
fn main() {
|
||||
let command = cli::parse_args();
|
||||
let run = command.run();
|
||||
let result = async_std::task::block_on(run);
|
||||
if let Err(error) = result {
|
||||
log::error!(target: "bridge", "substrate-relay: {}", error);
|
||||
}
|
||||
async_std::task::block_on(run);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user