Skip to content

Commit

Permalink
chore: 🤖 add failed path
Browse files Browse the repository at this point in the history
  • Loading branch information
heimanba committed Nov 29, 2024
1 parent e45337b commit 916805a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/wasm-go/extensions/frontend-gray/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func onHttpRequestHeaders(ctx wrapper.HttpContext, grayConfig config.GrayConfig,
if err == nil {
requestPath = parsedURL.Path
} else {
log.Errorf("parse request path failed: %v", err)
log.Errorf("parse request path %s failed: %v", requestPath, err)
}
enabledGray := util.IsGrayEnabled(grayConfig, requestPath)
ctx.SetContext(config.EnabledGray, enabledGray)
Expand Down

0 comments on commit 916805a

Please sign in to comment.