Compare commits

..

1 Commits

Author SHA1 Message Date
김성경 7202376123 대시보드 예외처리 변경 2026-04-09 08:41:16 +09:00
1 changed files with 0 additions and 3 deletions

View File

@ -130,9 +130,6 @@ async def get_session() -> AsyncGenerator[AsyncSession, None]:
try: try:
yield session yield session
except Exception as e: except Exception as e:
from app.dashboard.exceptions import DashboardException
if isinstance(e, DashboardException):
raise e
import traceback import traceback
await session.rollback() await session.rollback()
logger.error(traceback.format_exc()) logger.error(traceback.format_exc())