Except the exception as e

This commit is contained in:
TheToddLuci0 2022-09-06 12:26:52 -05:00
parent 89ab1d32d1
commit 81166ed42b
No known key found for this signature in database
GPG key ID: 86B35D9789EBE4A5

View file

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