Skip to content

Commit 07fce6c

Browse files
fix: Fix problematic error returns (#536)
Signed-off-by: cuishuang <[email protected]> Co-authored-by: cuishuang <[email protected]>
1 parent e4cfc6c commit 07fce6c

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
@@ -988,7 +988,7 @@ func (pb *standardPrimitiveGenerator) buildRequestContext(
988988
)
989989
httpArmoury, httpErr := httpPreparator.BuildHTTPRequestCtx()
990990
if httpErr != nil {
991-
return nil, err
991+
return nil, httpErr
992992
}
993993
return httpArmoury, nil
994994
},

0 commit comments

Comments
 (0)