Skip to content

fix: replace bare except with except Exception in cache loading#22

Open
haosenwang1018 wants to merge 1 commit intohuawei-csl:mainfrom
haosenwang1018:fix/bare-except
Open

fix: replace bare except with except Exception in cache loading#22
haosenwang1018 wants to merge 1 commit intohuawei-csl:mainfrom
haosenwang1018:fix/bare-except

Conversation

@haosenwang1018
Copy link

Replace bare except: with except Exception: in datautils.py cache loading. Bare except: catches KeyboardInterrupt and SystemExit, masking real errors.

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