Skip to content

Commit

Permalink
Commands substreams <...> that fails now correctly return an exit c…
Browse files Browse the repository at this point in the history
…ode 1.
  • Loading branch information
maoueh committed May 18, 2023
1 parent 5379114 commit cdd0b39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/substreams/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
"fmt"
"os"
"runtime/debug"
"strings"
)
Expand All @@ -19,7 +20,7 @@ func main() {
setup()

if err := rootCmd.Execute(); err != nil {

os.Exit(1)
}
}

Expand Down
2 changes: 2 additions & 0 deletions docs/release-notes/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ If you upgrade in the wrong order or if somehow `tier2` processes start using th

### Changed

* [`binary`]: Commands `substreams <...>` that fails now correctly return an exit code 1.

* [`library`]: The `manifest.NewReader` signature changed and will now return a `*Reader, error` (previously `*Reader`).

### Added
Expand Down

0 comments on commit cdd0b39

Please sign in to comment.