Skip to content

Commit 7135d18

Browse files
committed
Add a release string message in case of total failure.
1 parent 9282cfa commit 7135d18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sc2reader/scripts/sc2parse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ def main():
6868
print
6969
except Exception as e2:
7070
replay = sc2reader.load_replay(path, debug=True, load_level=0)
71+
print 'Total failure parsing {release_string}'.format(**replay.__dict__)
7172
print '[ERROR]', e.message
7273
print '[ERROR]', e2.message
7374
traceback.print_exc()
7475
print
75-
76+
7677

7778

7879
if __name__ == '__main__':

0 commit comments

Comments
 (0)