working commit

This commit is contained in:
2026-03-25 19:00:25 +02:00
parent 5e7b1f312d
commit 7142e32a39
7 changed files with 264 additions and 196 deletions
+7 -1
View File
@@ -109,7 +109,13 @@ func (svc *Service) logInterceptor(ctx context.Context, req any, info *grpc.Unar
if err == nil {
svc.log.Debugf("Request: %s", string(reqData))
}
return handler(ctx, req)
res, err := handler(ctx, req)
resData, err := json.Marshal(res)
if err == nil {
svc.log.Debugf("Response: %s", string(resData))
}
return res, err
}
func (svc *Service) Stop() {