mirror of https://github.com/MISP/misp-modules
Cleaning the error message
The original message can be confusing is the user change to is own API.pull/334/head
parent
5ebd0bd4fc
commit
5c09b66706
|
@ -117,7 +117,7 @@ def handler(q=False):
|
||||||
misperrors['error'] = 'Non existing CVE'
|
misperrors['error'] = 'Non existing CVE'
|
||||||
return misperrors['error']
|
return misperrors['error']
|
||||||
else:
|
else:
|
||||||
misperrors['error'] = 'cve.circl.lu API not accessible'
|
misperrors['error'] = 'API not accessible'
|
||||||
return misperrors['error']
|
return misperrors['error']
|
||||||
parser = VulnerabilityParser(attribute, vulnerability, api_url)
|
parser = VulnerabilityParser(attribute, vulnerability, api_url)
|
||||||
parser.parse_vulnerability_information()
|
parser.parse_vulnerability_information()
|
||||||
|
|
Loading…
Reference in New Issue