Skip to content
Snippets Groups Projects
Commit afb6fb6e authored by Sergei Shulepov's avatar Sergei Shulepov Committed by Bastian Köcher
Browse files

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
parent e07b9314
No related merge requests found
......@@ -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);
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment