feat/#1 - improve error logging and fix the file upload to support also the native multipart message
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user