mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-26 03:55:56 -05:00
0cdb32fc43
The `except SynapseError` clauses were pointless because the wrapped functions would never throw a `SynapseError` (they either throw a `CodeMessageException` or a `RuntimeError`). The `except CodeMessageException` is now also pointless because the caller treats all exceptions equally, so we may as well just throw the `CodeMessageException`.