Add onfail message to summary logs
diff --git a/TestON/core/utilities.py b/TestON/core/utilities.py
index 8cb681d..1ba403d 100644
--- a/TestON/core/utilities.py
+++ b/TestON/core/utilities.py
@@ -172,6 +172,7 @@
             else :
                 main.log.error(arguments["ONFAIL"])
                 main.log.report(arguments["ONFAIL"])
+                main.onFailMsg = arguments[ 'ONFAIL' ]
 
         msg = arguments["ON" + str(resultString)]