Added more info to ticket timedout error on tunnel

This commit is contained in:
Adolfo Gómez García 2021-09-24 14:42:01 +02:00
parent 26f33626c2
commit 4c453d2b1f

View File

@ -76,7 +76,7 @@ class Proxy:
}, },
) )
if not r.ok: if not r.ok:
raise Exception(r.content) raise Exception(r.content or 'Invalid Ticket (timed out)')
return r.json() return r.json()
except Exception as e: except Exception as e: