mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-21 10:33:03 +02:00
nit
This commit is contained in:
@ -666,8 +666,6 @@ def associate_credential_to_connector(
|
|||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception(f"Unexpected error: {e}")
|
logger.exception(f"Unexpected error: {e}")
|
||||||
delete_connector(db_session, connector_id)
|
|
||||||
db_session.commit()
|
|
||||||
|
|
||||||
raise HTTPException(status_code=500, detail="Unexpected error")
|
raise HTTPException(status_code=500, detail="Unexpected error")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user