mirror of
https://github.com/FAUSheppy/tmnf-replay-server.git
synced 2026-04-26 22:12:28 +02:00
fix: catch Exception gbx
This commit is contained in:
@@ -561,7 +561,7 @@ def upload():
|
|||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
results.append((fname, str(e)))
|
results.append((fname, str(e)))
|
||||||
continue
|
continue
|
||||||
except pygbx.Gbx as e:
|
except pygbx.Gbx.GbxLoadError as e:
|
||||||
print(f"Failed to load Replay: {e}")
|
print(f"Failed to load Replay: {e}")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user