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 .annular_checker import annular_check
annular_check().register()
import wx
try:
from .annular_checker import annular_check
annular_check().register()
except Exception as e:
wx.LogMessage('annular checker plugin error\n'+str(e))
+1 -1
View File
@@ -15,7 +15,7 @@
global mm_ius, DRL_EXTRA, AR_SET, AR_SET_V, DRL_EXTRA_ius, MIN_AR_SIZE, MIN_AR_SIZE_V, found_violations, LogMsg, ___version___
___version___="1.7.1"
___version___="1.7.2"
#wx.LogMessage("My message")
mm_ius = 1000000.0