diff options
| author | George Steel <george.steel@gmail.com> | 2022-12-26 20:10:10 -0500 |
|---|---|---|
| committer | George Steel <george.steel@gmail.com> | 2022-12-26 20:10:10 -0500 |
| commit | b63f19b2d0747769c60c8a2a52489ee30fa02a07 (patch) | |
| tree | c4808b43bdf1e071d92d93eed002ea71e692011c /lib/extensions/params.py | |
| parent | 7d60b8e9d31ff8b0d98eba2bbc5ad9415c18170d (diff) | |
fix seed param and error messages
Diffstat (limited to 'lib/extensions/params.py')
| -rw-r--r-- | lib/extensions/params.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/extensions/params.py b/lib/extensions/params.py index a568573f..306e5e56 100644 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -7,6 +7,7 @@ import os import sys +import traceback from collections import defaultdict from copy import copy from itertools import groupby, zip_longest @@ -511,9 +512,10 @@ class SettingsFrame(wx.Frame): except SystemExit: wx.CallAfter(self._show_warning) raise - except Exception: + except Exception as e: # Ignore errors. This can be things like incorrect paths for # satins or division by zero caused by incorrect param values. + traceback.print_exception(e, file=sys.stderr) pass return patches |
