Skip to content

Commit

Permalink
batches: Log error from executeBatchSpecInWorkspaces (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
eseliger authored Aug 9, 2022
1 parent c0cad1a commit b400c2d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@ All notable changes to `src-cli` are documented in this file.

### Changed

### Fixed

### Removed

## 3.42.3

### Changed

- **IMPORTANT:** Searches using the command `src search -stream` is updated to use a **new and better search result schema**, improving highlighting and accurate result counts for multiline matches. Please see the new JSON schema for results if you use the `src search -stream -json` output: [#807](https://github.com/sourcegraph/src-cli/pull/807)

### Fixed

### Removed
- INTERNAL ONLY: Fixed src batch exec not logging errors.

## 3.42.2

Expand Down
2 changes: 1 addition & 1 deletion cmd/src/batch_exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Examples:

err := executeBatchSpecInWorkspaces(ctx, flags)
if err != nil {
return cmderrors.ExitCode(1, nil)
return cmderrors.ExitCode(1, err)
}

return nil
Expand Down

0 comments on commit b400c2d

Please sign in to comment.