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:
|
||||
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()
|
||||
|
|
Loading…
Add table
Reference in a new issue