mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Ignore failures when printing tracebacks for failing interface actions during startup
This commit is contained in:
parent
480b2c6122
commit
894a9682fd
@ -135,7 +135,11 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
except:
|
||||
# Ignore errors in loading user supplied plugins
|
||||
import traceback
|
||||
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…
x
Reference in New Issue
Block a user