Skip to content

Commit

Permalink
Merge pull request #76 from minhoryang/bugfix/should_log_request_fail…
Browse files Browse the repository at this point in the history
…ed_when_request_failed

[BugFix] when request failed on custom route with should_log_request, retry/fallback won't triggered
  • Loading branch information
spikelu2016 authored Jun 18, 2024
2 parents 591b2f1 + 1bcdf56 commit 76353c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/route/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ func (r *Route) RunSteps(req *Request, rec recorder, log *zap.Logger) (*Response
Path: req.Forwarded.URL.Path,
Model: step.Model,
Action: req.Action,
Request: []byte(`{}`),
Response: []byte(`{}`),
CustomId: req.Forwarded.Header.Get("X-CUSTOM-EVENT-ID"),
UserId: req.UserId,
Expand Down

0 comments on commit 76353c2

Please sign in to comment.