Skip to content

Commit

Permalink
refactor : add internal logging in gRPC Server
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Diger committed Feb 20, 2024
1 parent d652bd4 commit 3a9cd94
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import io.grpc.stub.StreamObserver;
import lombok.RequiredArgsConstructor;
import net.devh.boot.grpc.server.service.GrpcService;
import org.palette.aop.InternalErrorLogging;
import org.palette.easelauthservice.component.generator.emailauth.AuthPayloadGenerator;
import org.palette.easelauthservice.component.mailsender.EmailAuthMailSender;
import org.palette.easelauthservice.redis.RedisEmailAuthService;
Expand All @@ -17,6 +18,7 @@ public class GrpcServer extends GAuthServiceGrpc.GAuthServiceImplBase {
private final RedisEmailAuthService redisEmailAuthService;
private final EmailAuthMailSender emailAuthMailSender;

@InternalErrorLogging
@Override
public void sendEmailAuth(
GSendEmailAuthRequest request,
Expand Down

0 comments on commit 3a9cd94

Please sign in to comment.