Skip to content

Commit 5990685

Browse files
committed
Improve and generalize routing error message
1 parent 91469d6 commit 5990685

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/satosa/proxy_server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ def __call__(self, environ, start_response, debug=False):
115115
raise resp
116116
return resp(environ, start_response)
117117
except SATOSANoBoundEndpointError:
118-
resp = NotFound("Couldn't find the page you asked for!")
118+
resp = NotFound(
119+
"The Service or Identity Provider"
120+
"you requested could not be found.")
119121
return resp(environ, start_response)
120122
except Exception as err:
121123
if type(err) != UnknownSystemEntity:

0 commit comments

Comments
 (0)