Merge pull request #94 from haosenwang1018/fix/bare-excepts

fix: replace 9 bare excepts with except Exception
This commit is contained in:
夏目侧耳
2026-03-13 21:11:07 +08:00
committed by GitHub
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1809,7 +1809,7 @@ async def generate_chapter_content_stream(
# 强制关闭
try:
await db_session.close()
except:
except Exception:
pass
return create_sse_response(event_generator())