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:
parent
ff87860d6a
commit
3de9e22fe6
1 changed files with 0 additions and 6 deletions
|
@ -215,12 +215,6 @@ def load(session, tables=[], directory=None, drop_tables=False, verbose=False, s
|
||||||
else:
|
else:
|
||||||
print("\n\n UNEXPECTED ERROR: ", error)
|
print("\n\n UNEXPECTED ERROR: ", error)
|
||||||
sys.exit(1)
|
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_status('%s/%s' % (n, len(table_objs)))
|
||||||
print_done()
|
print_done()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue