mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-03 21:02:40 +02:00
lint
This commit is contained in:
parent
62d0d8b6db
commit
8b735a492a
4 changed files with 35 additions and 18 deletions
|
|
@ -343,8 +343,12 @@ async def teams_callback(
|
|||
|
||||
except IntegrityError as e:
|
||||
await session.rollback()
|
||||
logger.error("Database integrity error creating Teams connector: %s", str(e))
|
||||
redirect_url = f"{config.NEXT_FRONTEND_URL}/dashboard?error=connector_creation_failed"
|
||||
logger.error(
|
||||
"Database integrity error creating Teams connector: %s", str(e)
|
||||
)
|
||||
redirect_url = (
|
||||
f"{config.NEXT_FRONTEND_URL}/dashboard?error=connector_creation_failed"
|
||||
)
|
||||
return RedirectResponse(url=redirect_url)
|
||||
|
||||
except HTTPException:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue