0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 19:43:50 +01:00

Remove debug logging from token parsing funcs.

This commit is contained in:
Erik Johnston 2014-08-19 16:40:38 +01:00
parent d94765999d
commit eea2dc7dde

View file

@ -60,7 +60,6 @@ def _parse_stream_token(string):
raise
return int(string[1:])
except:
logger.debug("Not stream token: %s", string)
raise SynapseError(400, "Invalid token")
@ -71,7 +70,6 @@ def _parse_topological_token(string):
parts = string[1:].split('-', 1)
return (int(parts[0]), int(parts[1]))
except:
logger.debug("Not topological token: %s", string)
raise SynapseError(400, "Invalid token")