mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
Generalize error text (#1388)
* Generalize error text
Right now, each time there is an error while executing `substrate-relay`
it will be reported as:
ERROR bridge Failed to start relay: <Actual cause of error>
This is the case even if the invoked command did not have anything to do
with starting a relayer. Thus this removes this text. Now something like
this would be written:
ERROR bridge <Actual cause of error>
* Use substrate-relay prefix
This commit is contained in:
committed by
Bastian Köcher
parent
e07b931476
commit
afb6fb6e5a
@@ -26,6 +26,6 @@ fn main() {
|
||||
let run = command.run();
|
||||
let result = async_std::task::block_on(run);
|
||||
if let Err(error) = result {
|
||||
log::error!(target: "bridge", "Failed to start relay: {}", error);
|
||||
log::error!(target: "bridge", "substrate-relay: {}", error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user