Skip to content

fix: replace 22 bare excepts with except Exception across 18 files#102

Open
haosenwang1018 wants to merge 1 commit into
EvolvingLMMs-Lab:mainfrom
haosenwang1018:fix/bare-excepts
Open

fix: replace 22 bare excepts with except Exception across 18 files#102
haosenwang1018 wants to merge 1 commit into
EvolvingLMMs-Lab:mainfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018
Copy link
Copy Markdown

Replace bare except: with except Exception: across 18 files (22 sites).

Why: Bare except: catches BaseException including KeyboardInterrupt/SystemExit, preventing clean shutdown during training. except Exception: preserves all fallback behavior.

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