FIX gracefully handle errors

This commit is contained in:
Nathan Dwarshuis 2023-06-02 22:53:53 -04:00
parent a3f49433a3
commit ea6d5e6042
1 changed files with 5 additions and 2 deletions

View File

@ -53,8 +53,11 @@ def write_output(status):
def main():
status = query_statuses()
write_output(status)
try:
status = query_statuses()
write_output(status)
except Exception as e:
print(str(e))
main()