Skip to content

Commit c0475a8

Browse files
Merge pull request #177 from c00kiemon5ter/improve-routing-error-msg
Improve and generalise routing error message
2 parents d007ed6 + 5990685 commit c0475a8

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)