mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
should not be reached
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user