Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxGUI: Fixed flake8 E722: bare 'except' in wxpython/gcp/ #4392

Merged
merged 6 commits into from
Sep 30, 2024

Conversation

arohanajit
Copy link
Contributor

Fixed 'E722: bare 'except' in gcp/manager.py.
Replaced:

except:
    pass

with:

except Exception as e:
    print(f"An error occurred: {e}")

to log the error as well

@github-actions github-actions bot added GUI wxGUI related Python Related code is in Python labels Sep 26, 2024
@petrasovaa petrasovaa added this to the 8.5.0 milestone Sep 26, 2024
petrasovaa
petrasovaa previously approved these changes Sep 26, 2024
@petrasovaa petrasovaa enabled auto-merge (squash) September 26, 2024 14:25
auto-merge was automatically disabled September 27, 2024 11:32

Head branch was pushed to by a user without write access

@echoix echoix changed the title wxGUI: Fixed flake8 E722: bare'except' in wxpython/gcp/ wxGUI: Fixed flake8 E722: bare 'except' in wxpython/gcp/ Sep 30, 2024
@echoix echoix merged commit e427da0 into OSGeo:main Sep 30, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI wxGUI related Python Related code is in Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants