changeset 4190:92551baea115

component AP gateway: be sure to have a string for error message.
author Goffi <goffi@goffi.org>
date Mon, 11 Dec 2023 18:07:58 +0100
parents 04cd749de818
children 5d056d524298
files libervia/backend/plugins/plugin_comp_ap_gateway/pubsub_service.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_comp_ap_gateway/pubsub_service.py	Mon Dec 11 00:54:01 2023 +0100
+++ b/libervia/backend/plugins/plugin_comp_ap_gateway/pubsub_service.py	Mon Dec 11 18:07:58 2023 +0100
@@ -430,7 +430,7 @@
                 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)