mirror of https://github.com/CIRCL/lookyloo
fix: Exception on invalid capture
parent
d63ea473f5
commit
35789f549b
|
@ -88,6 +88,7 @@ class AsyncCapture(AbstractManager):
|
||||||
self.thirdparty_submit(url)
|
self.thirdparty_submit(url)
|
||||||
else:
|
else:
|
||||||
self.logger.warning(f'Invalid capture {to_capture}.')
|
self.logger.warning(f'Invalid capture {to_capture}.')
|
||||||
|
url = ''
|
||||||
|
|
||||||
if url:
|
if url:
|
||||||
self.logger.info(f'Capturing {url} - {uuid}')
|
self.logger.info(f'Capturing {url} - {uuid}')
|
||||||
|
|
Loading…
Reference in New Issue