adding a message before loading the plugin with a try except

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

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))

View File

@ -13,7 +13,7 @@
#pcbnew.GetWizardsBackTrace()
___version___="1.2.7"
___version___="1.2.8"
#wx.LogMessage("My message")
#mm_ius = 1000000.0