Skip to content

Commit

Permalink
Print exceptions for journal entries to console
Browse files Browse the repository at this point in the history
  • Loading branch information
WaferMouse committed Jan 19, 2019
1 parent b4afade commit 789eaea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion load.py
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,11 @@ def prefs_changed():

def journal_entry(cmdr, system, station, entry, state):
for key, module in plugin_app.wafer_modules.iteritems():
module.journal_entry(cmdr, system, station, entry, state)
try:
module.journal_entry(cmdr, system, station, entry, state)
except Exception as exc:
print(traceback.format_exc())
print(exc)

def dashboard_entry(cmdr, is_beta, entry):
for key, module in plugin_app.wafer_modules.iteritems():
Expand Down

0 comments on commit 789eaea

Please sign in to comment.