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:
Sergei Shulepov
2022-05-05 13:52:29 +01:00
committed by Bastian Köcher
parent e07b931476
commit afb6fb6e5a
+1 -1
View File
@@ -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);
}
}