Skip to content

Commit d479912

Browse files
committed
fix(proxy): update fallback response logging to indicate if a Response instance was provided
1 parent 52d3913 commit d479912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export class FetchProxy {
180180
state: this.circuitBreaker.getState(),
181181
failureCount: this.circuitBreaker.getFailures(),
182182
executionTimeMs: executionTime,
183-
fallbackResponse,
183+
fallbackResponseProvided: fallbackResponse instanceof Response,
184184
},
185185
options,
186186
)

0 commit comments

Comments
 (0)