From b779977cdc31d50183e7b0f356e9489a43eb755d Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 25 Apr 2017 19:22:00 -0400 Subject: [PATCH] Slightly improve error message under remote auth with anon session attempt. --- lib/galaxy/web/framework/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/web/framework/webapp.py b/lib/galaxy/web/framework/webapp.py index dfedaec7f57..c274c3cd907 100644 --- a/lib/galaxy/web/framework/webapp.py +++ b/lib/galaxy/web/framework/webapp.py @@ -462,7 +462,7 @@ class GalaxyWebTransaction( base.DefaultWebTransaction, # No session exists, get/create user for new session user_for_new_session = self.get_or_create_remote_user( remote_user_email ) if ((galaxy_session and galaxy_session.user is None) and user_for_new_session is None): - raise Exception("Remote Authentication Failure") + raise Exception("Remote Authentication Failure - user is unknown and/or not supplied.") else: if galaxy_session is not None and galaxy_session.user and galaxy_session.user.external: # Remote user support is not enabled, but there is an existing