adding a message before loading the plugin with a try except

This commit is contained in:
U-CAD\userC committed 2021-11-29 16:50:17 +01:00
1 parent 0cc3e586dc
commit 3fcfd4ea14
12 files changed
+42 -18

No files matched your search

+6 -2
View File
@@ -1,2 +1,6 @@
from .action_menu_pcb2dxf import pcb2dxf
pcb2dxf().register()
import wx
try:
from .action_menu_pcb2dxf import pcb2dxf
pcb2dxf().register()
except Exception as e:
wx.LogMessage('pcb to dxf plugin error\n'+str(e))
+1 -1
View File
@@ -32,7 +32,7 @@ __author__ = "mozman <mozman@gmx.at>"
script_name="kicadpcb2dxf"
__author_script__="easyw Maurice"
___version___="3.8.2"
___version___="3.8.3"
from contextlib import contextmanager