# HG changeset patch
# User Andrey Skvortsov <andrej.skvortzov@gmail.com>
# Date 1480339644 -10800
# Node ID f37b88d3edc6d00de117c948a4c3d80de50c1b0f
# Parent  418e6bac22e86747c22b774092c568484381a315
change bug report address for PLCOpenEditor to beremiz-devel@lists.sourceforge.net

make error message to be the same as in Beremiz IDE

diff -r 418e6bac22e8 -r f37b88d3edc6 Beremiz.py
--- 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 +
diff -r 418e6bac22e8 -r f37b88d3edc6 PLCOpenEditor.py
--- 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: