diff --git a/devices/statistics_writer/test/test_server.py b/devices/statistics_writer/test/test_server.py
index 7f85ba6499738970f1feec5981993278de4aea97..c59aa7d68d18040b3d9ee34b940929d9f11db6c0 100644
--- a/devices/statistics_writer/test/test_server.py
+++ b/devices/statistics_writer/test/test_server.py
@@ -46,6 +46,7 @@ while True:
                     conn.sendall(data)
 
     except Exception as e:
-        logger.warning(e)
+        logger.warning(f"Exception occured: {e}" )
+        
         # just do 2 interrupt within a second to quit the program
         time.sleep(1)