Skip to content

Commit ee4ae71

Browse files
authored
chore: fix 500 response err log (#7345)
fix 500 response err log Signed-off-by: Huabing Zhao <[email protected]>
1 parent 77148c9 commit ee4ae71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/gatewayapi/route.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ func (t *Translator) processHTTPRouteRules(httpRoute *HTTPRouteContext, parentRe
294294
t.Logger.Info(
295295
"setting 500 direct response in routes due to errors in processing destinations",
296296
"routes", sets.List(routesWithDirectResponse),
297-
"error", err,
297+
"error", processDestinationError,
298298
)
299299
}
300300
// return 503 if endpoints does not exist

0 commit comments

Comments
 (0)