# HG changeset patch # User Goffi # Date 1592578071 -7200 # Node ID 37a582b0fe535df544b3a806d8440ea3f6433beb # Parent 65c43eec15adf490b10f767f1894d3434a40a413 pages: 404 is now returne if a remote server is not found diff -r 65c43eec15ad -r 37a582b0fe53 libervia/server/pages.py --- a/libervia/server/pages.py Fri Jun 19 16:47:51 2020 +0200 +++ b/libervia/server/pages.py Fri Jun 19 16:47:51 2020 +0200 @@ -1752,6 +1752,8 @@ if e.condition == 'not-allowed': log.warning("not allowed exception catched") self.pageError(request, C.HTTP_FORBIDDEN) + elif e.condition == 'remote-server-not-found': + self.pageError(request, C.HTTP_NOT_FOUND) else: log.error(_("Uncatched bridge exception for HTTP request on {url}: {e}") .format(url=request.URLPath(), e=e))