FIX gracefully handle errors
This commit is contained in:
parent
a3f49433a3
commit
ea6d5e6042
|
@ -53,8 +53,11 @@ def write_output(status):
|
|||
|
||||
|
||||
def main():
|
||||
try:
|
||||
status = query_statuses()
|
||||
write_output(status)
|
||||
except Exception as e:
|
||||
print(str(e))
|
||||
|
||||
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue