Fix flake8

This commit is contained in:
Christian M. Adams
2020-10-22 15:44:55 -04:00
parent a5b644c23c
commit 44e9ba1117
5 changed files with 3 additions and 7 deletions

View File

@@ -353,8 +353,8 @@ class ApiV2ConfigView(APIView):
if 'manifest' in license_data:
try:
license_data = validate_entitlement_manifest(license_data['manifest'])
except Exception as e:
logger.exception('Invalid license submitted.')
except Exception:
logger.exception('Invalid license submitted. {}')
return Response({"error": 'Invalid license submitted.'}, status=status.HTTP_400_BAD_REQUEST)
try: