mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-06 07:56:51 +00:00
We can get away with just catching UnicodeError here. ⋮ +-- ValueError | +-- UnicodeError | +-- UnicodeDecodeError | +-- UnicodeEncodeError | +-- UnicodeTranslateError ⋮ https://docs.python.org/3/library/exceptions.html#exception-hierarchy Signed-off-by: Dan Callahan <danc@element.io>
1 line
33 B
Text
1 line
33 B
Text
Simplify a few helper functions.
|