mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 03:43:47 +01:00
a312e890f5
I noticed in https://github.com/matrix-org/synapse/issues/8575 that the `end_error` variable in `synapse_port_db` is set to an `Exception`, even though later we expect it to be a `str`.
This PR simply casts an exception raised to a string. I'm doing this instead of having `end_error` be of type exception as we explicitly set `end_error` to a str here:
|
||
---|---|---|
.. | ||
export_signing_key | ||
generate_config | ||
generate_log_config | ||
generate_signing_key.py | ||
hash_password | ||
move_remote_media_to_new_store.py | ||
register_new_matrix_user | ||
synapse_port_db | ||
sync_room_to_group.pl |