mirror of
https://github.com/thegeeklab/docker-tidy.git
synced 2024-06-16 07:10:50 +02:00
fix exception type while validating env vars
This commit is contained in:
parent
9afd8478b3
commit
e3a26d0874
|
@ -51,5 +51,5 @@ def timedelta_parser(value):
|
|||
try:
|
||||
timedelta_validator(value)
|
||||
return value
|
||||
except TypeError as e:
|
||||
except ArgumentTypeError as e:
|
||||
raise environs.EnvError(e)
|
||||
|
|
Loading…
Reference in New Issue
Block a user