Skip to content

Commit

Permalink
Print the error on trying to find latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
drcandacemakedamoore committed Apr 28, 2021
1 parent e070fed commit e239606
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
'--abbrev=0',
'--tags',
]).strip().decode()
except subprocess.CalledProcessError:
except subprocess.CalledProcessError as e:
print(e.output)
tag = 'v0.0.0'

version = tag[1:]
Expand Down

0 comments on commit e239606

Please sign in to comment.