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

Catch more OSErrors #80

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Catch more OSErrors #80

merged 1 commit into from
Nov 8, 2024

Conversation

noah-weingarden
Copy link
Contributor

@noah-weingarden noah-weingarden commented Nov 8, 2024

We should probably catch OSErrors in all places where we use subprocess.run() instead of just is_executable(). I originally thought we were already doing it and lost it in a merge conflict, but we never were in the first place.

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.43%. Comparing base (5294aa6) to head (ac60215).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #80   +/-   ##
========================================
  Coverage    98.43%   98.43%           
========================================
  Files            4        4           
  Lines          256      256           
========================================
  Hits           252      252           
  Misses           4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@noah-weingarden noah-weingarden changed the title Add back OSError handling that was removed in 48e1ba8 Catch more OSErrors Nov 8, 2024
@noah-weingarden noah-weingarden changed the title Catch more OSErrors Catch more OSErrors Nov 8, 2024
Copy link
Contributor

@awdeorio awdeorio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@awdeorio awdeorio merged commit 042f54b into develop Nov 8, 2024
3 checks passed
@awdeorio awdeorio deleted the add-back-OSError branch November 8, 2024 13:42
@awdeorio
Copy link
Contributor

awdeorio commented Nov 8, 2024

Good catch. This reminded me of #50

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.

2 participants