We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 676c8d9 commit 6b77651Copy full SHA for 6b77651
nitrokeyapp/ui_loader.py
@@ -59,12 +59,12 @@ def createWidget(
59
# @fixme? in fact QWidget is callable
60
widget = self.customWidgets[class_name](parent) # type: ignore
61
62
- except (TypeError, KeyError):
+ except (TypeError, KeyError) as e:
63
raise Exception(
64
"No custom widget "
65
+ class_name
66
+ " found in customWidgets param of UiLoader __init__."
67
- )
+ ) from e
68
69
if self.baseinstance:
70
# set an attribute for the new child widget on the base
0 commit comments