Skip to content

Commit e6f90a6

Browse files
committed
fix: check ds connection
1 parent 6ae900d commit e6f90a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/apps/db/db.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ def check_connection(trans: Optional[Trans], ds: CoreDatasource | AssistantOutDs
168168
raise HTTPException(status_code=500, detail=trans('i18n_ds_invalid') + f': {e.args}')
169169
return False
170170

171+
return False
172+
171173

172174
def get_version(ds: CoreDatasource | AssistantOutDsSchema):
173175
version = ''

0 commit comments

Comments
 (0)