-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Output errors on a single line if backtraces are disabled (#1514)
* Output errors on a single line if ANSI output is disabled * Add changelog entry * Use published version of `oneline-eyre` * Use oneline logs if RUST_BACKTRACE is unset, set to 0 or empty * Use colored logs only if ANSI output is enabled * Use value of RUST_BACKTRACE at runtime instead of compile time * Simplify code * Use single-line errors if backtraces are disabled even with a tty
- Loading branch information
Showing
4 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/improvements/ibc-relayer-cli/1515-single-line-errors.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Output errors on a single line if ANSI output is disabled | ||
([#1515](https://github.com/informalsystems/ibc-rs/issues/1515)) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters