fix: replace bare except clauses with except Exception (#7400)

This commit is contained in:
Sense_wang 2026-03-05 05:06:17 +08:00 committed by GitHub
parent 1d1f4dfc88
commit 7bf15ad933
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 21 additions and 21 deletions

View file

@ -466,7 +466,7 @@ class LlamaServer:
response = self.session.get(health_url)
if response.status_code == 200:
break
except:
except Exception:
pass
time.sleep(1)
@ -559,5 +559,5 @@ def filter_stderr_with_progress(process_stderr):
finally:
try:
process_stderr.close()
except:
except Exception:
pass