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:
|
except:
|
||||||
# Ignore errors in loading user supplied plugins
|
# Ignore errors in loading user supplied plugins
|
||||||
import traceback
|
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:
|
if action.plugin_path is None:
|
||||||
raise
|
raise
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user