From 9ab4b35f2262d6ce99019e2fabc0017f0ebcc1e8 Mon Sep 17 00:00:00 2001 From: Joshua Milas Date: Tue, 24 Jan 2017 11:47:52 -0500 Subject: [PATCH] Changed error message to be more generic --- jupyterhub/services/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/services/auth.py b/jupyterhub/services/auth.py index 9dc93c80..a0e3c9b5 100644 --- a/jupyterhub/services/auth.py +++ b/jupyterhub/services/auth.py @@ -147,7 +147,7 @@ class HubAuth(Configurable): app_log.warning("No Hub user identified for request") data = None elif r.status_code == 403: - app_log.error("I don't have permission to verify cookies, my auth token may have expired: [%i] %s", r.status_code, r.reason) + app_log.error("I don't have permission to check authorization with JupyterHub, my auth token may have expired: [%i] %s", r.status_code, r.reason) raise HTTPError(500, "Permission failure checking authorization, I may need a new token") elif r.status_code >= 500: app_log.error("Upstream failure verifying auth token: [%i] %s", r.status_code, r.reason)