|
@@ -77,7 +77,7 @@ class _HomestayClient:
|
|
|
if 'application/json' not in r.headers.get('content-type', ''):
|
|
if 'application/json' not in r.headers.get('content-type', ''):
|
|
|
mark_stale('homestay')
|
|
mark_stale('homestay')
|
|
|
raise HomestayAuthError(
|
|
raise HomestayAuthError(
|
|
|
- f'Homestay session expired (HTTP {r.status_code}, content-type: {r.headers.get("content-type", "none")!r}) — run: {_AUTH_HINT}'
|
|
|
|
|
|
|
+ f'Homestay session expired (HTTP {r.status_code}, content-type: {r.headers.get("content-type", "none")!r}, body: {r.text[:200]!r}) — run: {_AUTH_HINT}'
|
|
|
)
|
|
)
|
|
|
return r.json()
|
|
return r.json()
|
|
|
|
|
|