Skip to content

Commit

Permalink
feat: print listTopicSubscriptions request log
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Mar 1, 2024
1 parent 558a5bc commit 4a3d5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/GRPCServerImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ export class GRPCServerImpl implements IAppCallbackServer {
async listTopicSubscriptions(_call: grpc.ServerUnaryCall<Empty, ListTopicSubscriptionsResponse>,
callback: grpc.sendUnaryData<ListTopicSubscriptionsResponse>): Promise<void> {
const res = new ListTopicSubscriptionsResponse();
debug('listTopicSubscriptions call: %j', this.subscriptionsList);
res.setSubscriptionsList(this.subscriptionsList);
this.logger.info('[layotto:server:listTopicSubscriptions] return response %j', res.toObject());
callback(null, res);
}
}

0 comments on commit 4a3d5aa

Please sign in to comment.