Skip to content

Commit b944a92

Browse files
Chris Connellybochaco
Chris Connelly
authored andcommitted
refactor!: Use eyre for errors
This is consistent with our other repositories, and should make errors easier to debug. BREAKING CHANGE: The public functions `run`, `run_with`, `join`, and `join_with` all now return `eyre::Result<()>`, rather than `Result<(), String>`.
1 parent 1190a81 commit b944a92

File tree

4 files changed

+236
-65
lines changed

4 files changed

+236
-65
lines changed

Cargo.lock

+197-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ repository = "https://github.com/maidsafe/sn_launch_tool.git"
88
edition = "2018"
99

1010
[dependencies]
11+
color-eyre = "0.5.11"
1112
dirs-next = "1.0.1"
1213
env_logger = "~0.8.3"
14+
eyre = "0.6.5"
1315
log = "~0.4.14"
1416
serde_json = "1.0.62"
1517
structopt = "~0.3.21"

0 commit comments

Comments
 (0)