PLCControler.py
changeset 2520 3a1c0c161f80
parent 2457 9deec258ab1a
child 2523 aa7f138648f3
--- a/PLCControler.py	Tue Mar 05 11:19:36 2019 +0300
+++ b/PLCControler.py	Tue Mar 05 11:43:20 2019 +0300
@@ -463,7 +463,7 @@
                     self.ProgramFilePath = filepath
                 return program_text, errors, warnings
             except PLCGenException as ex:
-                errors.append(str(ex))
+                errors.append(ex)
         else:
             errors.append("No project opened")
         return "", errors, warnings