1
0
Fork 0
mirror of https://github.com/veekun/pokedex.git synced 2024-08-20 18:16:34 +00:00

Remove catch-all exception

This commit is contained in:
rluzuriaga 2020-04-21 20:54:17 -07:00
parent ff87860d6a
commit 3de9e22fe6

View file

@ -215,12 +215,6 @@ def load(session, tables=[], directory=None, drop_tables=False, verbose=False, s
else:
print("\n\n UNEXPECTED ERROR: ", error)
sys.exit(1)
# In case any other exception not specified above is raised, an
# unexpected exception error is sent with the error included.
except Exception as error:
print("\n\nUNEXPECTED Error: ", error)
sys.exit(1)
print_status('%s/%s' % (n, len(table_objs)))
print_done()