boom-boot/0005-boom-raise-exceptions-in-load_profiles_for_class-if-.patch
2020-05-26 15:46:58 +02:00

17 lines
485 B
Diff

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