Skip to content

Commit b400c2d

Browse files
authored
batches: Log error from executeBatchSpecInWorkspaces (#811)
1 parent c0cad1a commit b400c2d

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,19 @@ All notable changes to `src-cli` are documented in this file.
1515

1616
### Changed
1717

18+
### Fixed
19+
20+
### Removed
21+
22+
## 3.42.3
23+
24+
### Changed
25+
1826
- **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)
1927

2028
### Fixed
2129

22-
### Removed
30+
- INTERNAL ONLY: Fixed src batch exec not logging errors.
2331

2432
## 3.42.2
2533

cmd/src/batch_exec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Examples:
9898

9999
err := executeBatchSpecInWorkspaces(ctx, flags)
100100
if err != nil {
101-
return cmderrors.ExitCode(1, nil)
101+
return cmderrors.ExitCode(1, err)
102102
}
103103

104104
return nil

0 commit comments

Comments
 (0)