mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-02 01:59:12 -05:00
Remove debug logging from token parsing funcs.
This commit is contained in:
parent
d94765999d
commit
eea2dc7dde
@ -60,7 +60,6 @@ def _parse_stream_token(string):
|
|||||||
raise
|
raise
|
||||||
return int(string[1:])
|
return int(string[1:])
|
||||||
except:
|
except:
|
||||||
logger.debug("Not stream token: %s", string)
|
|
||||||
raise SynapseError(400, "Invalid token")
|
raise SynapseError(400, "Invalid token")
|
||||||
|
|
||||||
|
|
||||||
@ -71,7 +70,6 @@ def _parse_topological_token(string):
|
|||||||
parts = string[1:].split('-', 1)
|
parts = string[1:].split('-', 1)
|
||||||
return (int(parts[0]), int(parts[1]))
|
return (int(parts[0]), int(parts[1]))
|
||||||
except:
|
except:
|
||||||
logger.debug("Not topological token: %s", string)
|
|
||||||
raise SynapseError(400, "Invalid token")
|
raise SynapseError(400, "Invalid token")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user