mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 02:25:25 +01:00
Ignore failures when printing tracebacks for failing interface actions during startup
This commit is contained in:
parent
480b2c6122
commit
894a9682fd
1 changed files with 5 additions and 1 deletions
|
|
@ -135,7 +135,11 @@ def __init__(self, opts, parent=None, gui_debug=None):
|
|||
except:
|
||||
# Ignore errors in loading user supplied plugins
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
try:
|
||||
traceback.print_exc()
|
||||
except Exception:
|
||||
if action.plugin_path:
|
||||
print('Failed to load Interface Action plugin:', action.plugin_path, file=sys.stderr)
|
||||
if action.plugin_path is None:
|
||||
raise
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue