should not be reached

This commit is contained in:
Matthias 2022-02-13 23:52:50 +01:00
parent 43a05dfcb4
commit f765f0f083
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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