Skip to content

fix: replace 10 bare excepts with except Exception across 6 files - #201

Open
haosenwang1018 wants to merge 1 commit into
Tencent-Hunyuan:mainfrom
haosenwang1018:fix/bare-excepts
Open

fix: replace 10 bare excepts with except Exception across 6 files#201
haosenwang1018 wants to merge 1 commit into
Tencent-Hunyuan:mainfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018

Copy link
Copy Markdown

Replace bare except: with except Exception: in 6 files (10 sites). Bare except: catches BaseException including KeyboardInterrupt/SystemExit, preventing clean shutdown.

Files: MeshRender.py (2), train.py (2), surface_extractors.py, integrators.py, render.py, watertight_and_sample.py (3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant