Skip to content

Commit

Permalink
Generalize error text (paritytech#1388)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
pepyakin authored and serban300 committed Apr 9, 2024
1 parent 99da8b5 commit 2a063dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/relays/bin-substrate/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 comments on commit 2a063dd

Please sign in to comment.