Skip to content

Commit 2bcd955

Browse files
committed
lint code
1 parent 1c22234 commit 2bcd955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ async def save_or_update(self, db: AsyncSession):
7979
raise HTTPException(
8080
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
8181
detail=repr(exception),
82-
)
82+
) from exception
8383
finally:
8484
await db.close()

0 commit comments

Comments
 (0)