Skip to content

Commit 6fa77e4

Browse files
authored
fix: Fix problematic error returns (#534)
Signed-off-by: cuishuang <[email protected]>
1 parent 869c2b8 commit 6fa77e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/stackql/primitivegenerator/statement_analyzer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ func (pb *standardPrimitiveGenerator) buildRequestContext(
972972
)
973973
httpArmoury, httpErr := httpPreparator.BuildHTTPRequestCtx()
974974
if httpErr != nil {
975-
return nil, err
975+
return nil, httpErr
976976
}
977977
meta.WithGetHTTPArmoury(func() (anysdk.HTTPArmoury, error) { return httpArmoury, nil })
978978
return httpArmoury, err

0 commit comments

Comments
 (0)