Skip to content

Commit 44c5065

Browse files
committed
fix: UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON
1 parent 167f2bb commit 44c5065

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/cubejs-api-gateway/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,11 @@ class ApiGateway {
527527

528528
log(context, event) {
529529
const { type, ...restParams } = event;
530-
this.logger(type, { ...restParams, ...context });
530+
this.logger(type, {
531+
...restParams,
532+
authInfo: context.authInfo,
533+
requestId: context.requestId
534+
});
531535
}
532536
}
533537

0 commit comments

Comments
 (0)