mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 04:30:53 +00:00
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 |