replace except: with except Exception:
This commit is contained in:
+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