mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-09 15:58:32 +01:00
feat: add debug output for unsupported struct
This commit is contained in:
@@ -127,6 +127,7 @@ def smart_send_to_clients():
|
|||||||
try:
|
try:
|
||||||
message = messagetools.load_struct(struct)
|
message = messagetools.load_struct(struct)
|
||||||
except messagetools.UnsupportedStruct as e:
|
except messagetools.UnsupportedStruct as e:
|
||||||
|
print(str(e), file=sys.stderr)
|
||||||
return (e.response(), 408)
|
return (e.response(), 408)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user