Skip to content

Commit

Permalink
fix: Don't handle BaseExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gavindsouza committed Mar 17, 2022
1 parent d33d987 commit ad000f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def install_resolved_deps(

try:
installed_branch = bench.apps.states[repo_name]["resolution"]["branch"].strip()
except:
except Exception:
installed_branch = (
subprocess.
check_output("git rev-parse --abbrev-ref HEAD", shell=True, cwd=path_to_app)
Expand All @@ -451,7 +451,7 @@ def install_resolved_deps(
is_compatible = default_branch == installed_branch
else:
is_compatible = installed_branch == app.tag
except:
except Exception:
is_compatible = False

prefix = 'C' if is_compatible else 'Inc'
Expand Down

0 comments on commit ad000f1

Please sign in to comment.