From d6b745eb2bdab318cdecd0a3d3513d1da34d428f Mon Sep 17 00:00:00 2001
From: drc38 <20024196+drc38@users.noreply.github.com>
Date: Fri, 20 Oct 2023 08:50:08 +1300
Subject: [PATCH] remove incorrect ref

---
 ocpp/charge_point.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ocpp/charge_point.py b/ocpp/charge_point.py
index 4b84ff4da..e7d6d3771 100644
--- a/ocpp/charge_point.py
+++ b/ocpp/charge_point.py
@@ -101,7 +101,7 @@ def _raise_keyerror(action, version):
             )
     else:
         raise NotSupportedError(
-            details={"cause": f"{msg.action} not supported by OCPP{version}."}
+            details={"cause": f"{action} not supported by OCPP{version}."}
         )
 
     return