diff --git a/channels/webui.py b/channels/webui.py index 293e3203..da96a550 100644 --- a/channels/webui.py +++ b/channels/webui.py @@ -610,7 +610,7 @@ async def settings_save(request: fastapi.Request): try: await channel.manager.reload_module(module_name) except Exception as e: - channel.log(self.name, f"Error reloading module {module_name}: {core.detail_error(e)}") + channel.log(channel.name, f"Error reloading module {module_name}: {core.detail_error(e)}") return api_result(success=True)