change bug report address for PLCOpenEditor to beremiz-devel@lists.sourceforge.net
make error message to be the same as in Beremiz IDE
--- a/Beremiz.py Mon Nov 28 16:12:27 2016 +0300
+++ b/Beremiz.py Mon Nov 28 16:27:24 2016 +0300
@@ -1185,7 +1185,7 @@
Please be kind enough to send this file to:
beremiz-devel@lists.sourceforge.net
-You should now restart Beremiz.
+You should now restart program.
Traceback:
""") % bug_report_path +
--- a/PLCOpenEditor.py Mon Nov 28 16:12:27 2016 +0300
+++ b/PLCOpenEditor.py Mon Nov 28 16:27:24 2016 +0300
@@ -406,16 +406,17 @@
dlg = wx.SingleChoiceDialog(None,
_("""
-An error has occurred.
-
-Click OK to save an error report.
+An unhandled exception (bug) occured. Bug report saved at :
+(%s)
Please be kind enough to send this file to:
-edouard.tisserant@gmail.com
-
-Error:
-""") +
- str(e_type) + _(" : ") + str(e_value),
+beremiz-devel@lists.sourceforge.net
+
+You should now restart program.
+
+Traceback:
+""") % bug_report_path +
+ repr(e_type) + " : " + repr(e_value),
_("Error"),
trcbck_lst)
try: