[mod] custom code when test failure is due to a known error

This commit is contained in:
Laurent Peuch 2019-01-22 02:40:16 +01:00
parent cbe205e587
commit 7d868ec5dd

View file

@ -183,7 +183,7 @@ async def check_http(request):
"status": "error", "status": "error",
"code": "error_http_check_connection_error", "code": "error_http_check_connection_error",
"content": "connection error, could not connect to the requested domain, it's very likely unreachable", "content": "connection error, could not connect to the requested domain, it's very likely unreachable",
}, status=400) }, status=418)
except Exception: except Exception:
import traceback import traceback
traceback.print_exc() traceback.print_exc()