replace except: with except Exception:
This commit is contained in:
1 parent
0ec1f9e331
commit
6f72def1ac
16 files changed
+71
-71
No files matched your search
+1
-1
@@ -1883,7 +1883,7 @@ async def get_pipeline_valves(
|
||||
res = r.json()
|
||||
if "detail" in res:
|
||||
detail = res["detail"]
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
raise HTTPException(
|
||||
|
||||
Reference in new issue
Block a user