Display exec info on network scanning error

This commit is contained in:
k4m4 2018-02-20 12:26:29 +00:00
parent 48fada7ebd
commit 87f18dad5f
No known key found for this signature in database
GPG Key ID: C747F75367032D1E

View File

@ -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()