Skip to content

Commit

Permalink
adds transaction error to critical errs (#3255)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzelei authored Feb 12, 2025
1 parent 0578034 commit a641806
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worker/pkg/benthos/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func IsCriticalError(errMsg string) bool {
"does not exist",
"syntax error at or near",
"ON CONFLICT DO UPDATE requires inference specification or constraint name",
"transaction has already been committed or rolled back",
}

for _, errStr := range criticalErrors {
Expand Down

0 comments on commit a641806

Please sign in to comment.