docs/debug

This commit is contained in:
Jokob-sk
2023-07-08 09:56:07 +10:00
parent e3e0e62d77
commit 1a08a88b9e
3 changed files with 25 additions and 15 deletions

View File

@@ -62,9 +62,10 @@ def execute_arpscan_on_interface (interface):
result = subprocess.check_output (arpscan_args, universal_newlines=True)
except subprocess.CalledProcessError as e:
# An error occured, handle it
error_type = type(e).__name__ # Capture the error type
error_type = type(e).__name__ # Capture the error type
mylog('none', [f'[ARP Scan] Error type : {error_type}'])
mylog('none', [f'[ARP Scan] Set LOG_LEVEL=debug for more details'])
mylog('none', [f'[ARP Scan] Error output: {e.output}'])
result = ""