mirror of https://github.com/CIRCL/lookyloo
chg: add logging to FOX module
parent
463d1d2d1a
commit
eaff6c81ee
|
@ -67,5 +67,6 @@ class FOX():
|
|||
self.__submit_url(url)
|
||||
except requests.exceptions.HTTPError as e:
|
||||
return {'error': e}
|
||||
self.logger.info('URL submitted to FOX ({url})')
|
||||
return {'success': 'URL submitted successfully'}
|
||||
return {'error': 'Submitting is not allowed by the configuration'}
|
||||
|
|
Loading…
Reference in New Issue