mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-10 14:28:33 -05:00
![Erik Johnston](/assets/img/avatar_default.png)
More often than not passing bytes to `txn.execute` is a bug (where we meant to pass a string) that just happens to work if `BYTEA_OUTPUT` is set to `ESCAPE`. However, this is a bit of a footgun so we want to instead error when this happens, and force using `bytearray` if we actually want to use bytes.