Skip to content

fix: replace 33 bare excepts with except Exception across 24 files#38

Open
haosenwang1018 wants to merge 1 commit intoSkyworkAI:mainfrom
haosenwang1018:fix/bare-excepts
Open

fix: replace 33 bare excepts with except Exception across 24 files#38
haosenwang1018 wants to merge 1 commit intoSkyworkAI:mainfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018
Copy link

Replace bare except: with except Exception: across 24 files (33 sites).

Why: Bare except: catches BaseException including KeyboardInterrupt/SystemExit, preventing clean shutdown.

Scope: DiffSynth-Studio (6), StableSR (6), Pano_GS_Opt (4), Pano_LRM (4), pano_init (4), MoGe (1), and other modules.

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