Fix a bug where FAILED would not be displayed in error logs
Fix a bug where FAILED would not be displayed in error logs

matrix-org/matrix-appservice-bridge,matrix-org/matrix-appservice-bridge,matrix-org/matrix-appservice-bridge