Skip to content

Commit

Permalink
Merge pull request #687 from zanllp/feature/exception-handling-adjust…
Browse files Browse the repository at this point in the history
…ment

Adjust exception handling mechanisms
  • Loading branch information
zanllp authored Jul 10, 2024
2 parents 03bed6d + d91c046 commit e07acdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/iib/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def get_current_commit_hash():
return result.stdout.strip()
else:
return None
except subprocess.CalledProcessError:
except Exception:
return None

def get_current_tag():
Expand All @@ -653,7 +653,7 @@ def get_current_tag():
return result.stdout.strip()
else:
return None
except subprocess.CalledProcessError:
except Exception:
return None


Expand Down

0 comments on commit e07acdc

Please sign in to comment.