센트리 부착
This commit is contained in:
@@ -4,7 +4,6 @@ import com.querydsl.core.types.Predicate;
|
||||
import com.querydsl.jpa.impl.JPAQueryFactory;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import myblog.blog.article.domain.Article;
|
||||
import org.springframework.data.domain.Slice;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
@@ -29,4 +28,6 @@ public class QdslArticleRepository {
|
||||
private Predicate cursorLt(Long articleId) {
|
||||
return articleId == 0L ? null : article.id.lt(articleId);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package myblog.blog.infra.log;
|
||||
|
||||
import io.sentry.Sentry;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.aspectj.lang.ProceedingJoinPoint;
|
||||
@@ -26,6 +27,7 @@ public class LogAspect {
|
||||
return joinPoint.proceed();
|
||||
} catch (Exception ex) {
|
||||
logTracer.handleException(status, ex);
|
||||
Sentry.captureMessage(ex.getMessage());
|
||||
hasException = true;
|
||||
throw ex;
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user