mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
do not cover error
This commit is contained in:
parent
8a91fc362b
commit
baca0dc268
@ -59,7 +59,7 @@ class PluginConfig(models.Model):
|
||||
|
||||
try:
|
||||
return self.plugin._mixinreg
|
||||
except (AttributeError, ValueError):
|
||||
except (AttributeError, ValueError): # pragma: no cover
|
||||
return {}
|
||||
|
||||
# functions
|
||||
|
Loading…
Reference in New Issue
Block a user