From 87f18dad5f6a245d6069a1d6bdc4c552b0ad4678 Mon Sep 17 00:00:00 2001 From: k4m4 Date: Tue, 20 Feb 2018 12:26:29 +0000 Subject: [PATCH] Display exec info on network scanning error --- kickthemout.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kickthemout.py b/kickthemout.py index eccfc47..ba173a1 100644 --- a/kickthemout.py +++ b/kickthemout.py @@ -259,6 +259,7 @@ def scanNetwork(): pass except: print("\n\n{}ERROR: Network scanning failed. Please check your requirements configuration.{}".format(RED, END)) + print("\n{}If you still cannot resolve this error, please submit an issue here:\n\t{}https://github.com/k4m4/kickthemout/issues\n\n{}Details: {}{}{}".format(RED, BLUE, RED, GREEN, str(sys.exc_info()[1]), END)) os._exit(1) regenOnlineIPs()