We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f8ae20 commit 7e74be2Copy full SHA for 7e74be2
src/blocks/timewarrior.rs
@@ -198,6 +198,8 @@ async fn stop_continue() -> Result<()> {
198
.error("Error spawning timew")?
199
.wait()
200
.await
201
- .error("Error executing stop/continue")
202
- .map(|_| ())
+ .error("Error executing stop/continue")?
+ .success()
203
+ .then_some(())
204
+ .error("timew exited with non-zero value when attempting to stop/contniue")
205
}
0 commit comments