feat/#1 - improve error logging and fix the file upload to support also the native multipart message

This commit is contained in:
2025-04-18 22:52:34 +01:00
parent a8d82b1e3d
commit 04977e5ccc
15 changed files with 168 additions and 118 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ class RabbitMQClient:
logging.info(" [%s] AMQ connection initialized for route: %s, listens on: %s/%s",
_c_tag, route, exchange, queue_name)
except Exception as err:
logging.error(" [E] Callback registration INCOMPLETE, %s", err)
logging_error("Callback registration INCOMPLETE, %s", err)
else:
logging.warning(" [W] Channel is null, cannot register routes.")
@@ -167,7 +167,7 @@ class RabbitMQClient:
logging.warning("Message not sent, no route for %s/%s", message.domain, message.path)
except Exception as err:
logging.error("Send message failed: %s", err)
logging_error("Send message failed: %s", err)
async def request_routes(self):
await self.router.request_routes_from_adapters()