diff --git a/src/middlewared/middlewared/api/base/server/ws_handler/rpc.py b/src/middlewared/middlewared/api/base/server/ws_handler/rpc.py index d7e4064138afa..a4540c35d425e 100644 --- a/src/middlewared/middlewared/api/base/server/ws_handler/rpc.py +++ b/src/middlewared/middlewared/api/base/server/ws_handler/rpc.py @@ -275,7 +275,7 @@ async def process_message(self, app: RpcWebSocketApp, message: Any): return if not app.private_methods and method.private: # FIXME: Eventually, prohibit this - self.middleware.logger.warning("Private method %r called on a connection without private method call " + self.middleware.logger.warning("Private method %r called on a connection without private_methods " "enabled", method.name) asyncio.ensure_future(self.process_method_call(app, id_, method, message.get("params", [])))