diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-03-09 17:51:29 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-03-09 17:51:29 -0300 |
commit | 46f5218974e4988bd04574b4e56c5094802e1839 (patch) | |
tree | 3ea6d6c28476f4ae4773f72cfa2dd2daec3b0a44 | |
parent | b7747eb98eb82c724c614c8b82637309afacbfa6 (diff) | |
download | evol-tools-master.tar.gz evol-tools-master.tar.bz2 evol-tools-master.tar.xz evol-tools-master.zip |
Instead, silently ignore and keep doing its own thing.
This should prevent test server from being killed because make maps could not
finish cleanly. It'll still raise an error if environment is set to CI.
However, do note it won't work as it is supposed to - the map will be unacessible.
-rwxr-xr-x | hercules/tmx_converter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hercules/tmx_converter.py b/hercules/tmx_converter.py index 3264797..c78e94f 100755 --- a/hercules/tmx_converter.py +++ b/hercules/tmx_converter.py @@ -28,6 +28,7 @@ import sys import os import posixpath import xml.sax +import traceback dump_all = False # wall of text check_mobs = True # mob_db.txt @@ -497,7 +498,7 @@ def main(argv): pass else: print("\n\nUnexpected error in map %s.\n" % base) - raise + traceback.print_exc() map_conf.write(")\n") sys.stdout.write('\033[2K\nDone: %i maps converted.\n' % map_count) sys.stdout.flush() |