boom-boot/0005-boom-raise-exceptions-in-load_profiles_for_class-if-.patch

17 lines
485 B
Diff
Raw Normal View History

2020-05-26 13:43:30 +00:00
boom/_boom.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/boom/_boom.py b/boom/_boom.py
index 0cb65d1..690386e 100644
--- a/boom/_boom.py
+++ b/boom/_boom.py
@@ -1012,6 +1012,8 @@ def load_profiles_for_class(profile_class, profile_type,
except Exception as e:
_log_warn("Failed to load %s from '%s': %s" %
(profile_class.__name__, pf_path, e))
+ if get_debug_mask():
+ raise e
continue