fix(DSCP): Add log message for invalid cookies
This commit is contained in:
parent
a731f64f5c
commit
c09ffda359
@ -259,6 +259,10 @@ class DSCP(Service):
|
||||
self.log.error("- Access Denied. Please check your subscription.")
|
||||
sys.exit(1)
|
||||
|
||||
if "invalid.token" in res["errors"][0]["code"]:
|
||||
self.log.error("- Invalid Token. Cookies are invalid or may have expired.")
|
||||
sys.exit(1)
|
||||
|
||||
raise ConnectionError(res["errors"])
|
||||
|
||||
streaming = res["data"]["attributes"]["streaming"][0]
|
||||
|
Loading…
Reference in New Issue
Block a user