From 0c0b2efbe09f3b43d9711f5c7992ee7c8e84a585 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 May 2022 16:46:05 +0200 Subject: [PATCH] raise error --- InvenTree/plugin/base/label/mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/base/label/mixins.py b/InvenTree/plugin/base/label/mixins.py index b6c4d53f46..4e06f9e15a 100644 --- a/InvenTree/plugin/base/label/mixins.py +++ b/InvenTree/plugin/base/label/mixins.py @@ -36,4 +36,4 @@ class LabelPrintingMixin: """ # Unimplemented (to be implemented by the particular plugin class) - MixinNotImplementedError('This Plugin must implement a `print_label` method') + raise MixinNotImplementedError('This Plugin must implement a `print_label` method')