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 .move_to_layer import move_to_draw_layer
move_to_draw_layer().register()
import wx
try:
from .move_to_layer import move_to_draw_layer
move_to_draw_layer().register()
except Exception as e:
wx.LogMessage('move to layer plugin error\n'+str(e))