diff sat_pubsub/mam.py @ 494:468b7cd6c344 default tip

bookmark compat: handle mapped errors: This convert error on request (e.g. missing node) to appropriate stanza error.
author Goffi <goffi@goffi.org>
date Fri, 13 Dec 2024 12:23:47 +0100
parents c41f37f1b51c
children
line wrap: on
line diff
--- a/sat_pubsub/mam.py	Wed Dec 11 01:19:46 2024 +0200
+++ b/sat_pubsub/mam.py	Fri Dec 13 12:23:47 2024 +0100
@@ -43,7 +43,7 @@
 
 @implementer(mam.IMAMResource)
 class MAMResource(object):
-    _errorMap = backend.PubSubResourceFromBackend._errorMap
+    _errorMap = backend.PubSubResourceFromBackend.error_map
 
     def __init__(self, backend_):
         self.backend = backend_