Skip to content

Commit

Permalink
Fix: set transaction status to 'finish' each request
Browse files Browse the repository at this point in the history
  • Loading branch information
miiiinju1 committed Jan 25, 2024
1 parent 203343f commit 9ab5752
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/swm_nm/morandi/aop/logging/LoggingAspect.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ public Object controllerAroundLogging(ProceedingJoinPoint pjp) throws Throwable
log.info("{}, \"return\": {}", callFunction,
mapper.writeValueAsString(result)
);

// 트랜잭션 종료
transaction.finish();
Sentry.configureScope(Scope::clear);
Sentry.clearBreadcrumbs();
}
Expand Down

0 comments on commit 9ab5752

Please sign in to comment.