Skip to content

fix: replace bare except with except Exception in trading_script#114

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

fix: replace bare except with except Exception in trading_script#114
haosenwang1018 wants to merge 1 commit intoLuckyOne7777:mainfrom
haosenwang1018:fix/bare-except

Conversation

@haosenwang1018
Copy link

Replace bare except: with except Exception: in trading_script.py liquidity check. Bare except: catches KeyboardInterrupt and SystemExit, masking real errors.

Bare except catches KeyboardInterrupt and SystemExit, masking 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