From 81166ed42b55dfccd09c2e561b5f178bf4929213 Mon Sep 17 00:00:00 2001 From: TheToddLuci0 Date: Tue, 6 Sep 2022 12:26:52 -0500 Subject: [PATCH] Except the exception as e --- LinkedInt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LinkedInt.py b/LinkedInt.py index 781524f..bb1faf5 100644 --- a/LinkedInt.py +++ b/LinkedInt.py @@ -326,7 +326,7 @@ def authenticate(): sys.exit("[!] Unable to login to LinkedIn.com") print("[*] Obtained new session") cookies = dict(li_at=session) - except Exception: + except Exception as e: sys.exit("[!] Could not authenticate to linkedin. %s" % e) return cookies