mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 10:05:55 +03:00
bd918d874f
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.
|