component AP gateway: be sure to have a string for error message.

This commit is contained in:
Goffi 2023-12-11 18:07:58 +01:00
commit 05bdfe122a

View file

@ -430,7 +430,7 @@ class APPubsubService(rsm.PubSubService):
except Exception as e:
raise error.StanzaError(
"item-not-found",
text=e
text=str(e)
)
else:
actor_data = await self.apg.get_ap_actor_data_from_account(ap_account)