Skip to content

Commit

Permalink
feat: print listTopicSubscriptions request log (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 authored Mar 6, 2024
1 parent 558a5bc commit efeaf68
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 efeaf68

Please sign in to comment.