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 .fabrication_positions import generatePOS
generatePOS().register()
import wx
try:
from .fabrication_positions import generatePOS
generatePOS().register()
except Exception as e:
wx.LogMessage('fabrication positions plugin error\n'+str(e))
@@ -13,7 +13,7 @@
#pcbnew.GetWizardsBackTrace()
___version___="1.2.7"
___version___="1.2.8"
#wx.LogMessage("My message")
#mm_ius = 1000000.0