fix: Exception on invalid capture

pull/497/head
Raphaël Vinot 2022-08-20 23:33:32 +02:00
parent d63ea473f5
commit 35789f549b
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ class AsyncCapture(AbstractManager):
self.thirdparty_submit(url)
else:
self.logger.warning(f'Invalid capture {to_capture}.')
url = ''
if url:
self.logger.info(f'Capturing {url} - {uuid}')