Cleaning the error message

The original message can be confusing is the user change to is own API.
pull/334/head
Fafner [_KeyZee_] 2019-09-17 10:42:29 +02:00 committed by GitHub
parent 5ebd0bd4fc
commit 5c09b66706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ def handler(q=False):
misperrors['error'] = 'Non existing CVE'
return misperrors['error']
else:
misperrors['error'] = 'cve.circl.lu API not accessible'
misperrors['error'] = 'API not accessible'
return misperrors['error']
parser = VulnerabilityParser(attribute, vulnerability, api_url)
parser.parse_vulnerability_information()