mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
should not be reached
This commit is contained in:
parent
43a05dfcb4
commit
f765f0f083
@ -117,7 +117,7 @@ class PluginConfigInstallSerializer(serializers.Serializer):
|
||||
ret['result'] = str(result, 'utf-8')
|
||||
ret['success'] = True
|
||||
success = True
|
||||
except subprocess.CalledProcessError as error:
|
||||
except subprocess.CalledProcessError as error: # pragma: no cover
|
||||
ret['result'] = str(error.output, 'utf-8')
|
||||
ret['error'] = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user