Skip to content

Commit 62aad24

Browse files
committed
Enhance logging in case of the query failure
Signed-off-by: Yury Tsarev <[email protected]>
1 parent aab9897 commit 62aad24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fn.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func (f *Function) RunFunction(ctx context.Context, req *fnv1.RunFunctionRequest
102102
nil)
103103
if err != nil {
104104
response.Fatal(rsp, errors.Wrap(err, "failed to finish the request"))
105+
f.log.Info("FAILURE: ", "failure", fmt.Sprint(err))
105106
return rsp, nil
106107
}
107108
// Print the obtained query results

0 commit comments

Comments
 (0)