[mod] custom code when test failure is due to a known error
This commit is contained in:
parent
cbe205e587
commit
7d868ec5dd
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ async def check_http(request):
|
|||
"status": "error",
|
||||
"code": "error_http_check_connection_error",
|
||||
"content": "connection error, could not connect to the requested domain, it's very likely unreachable",
|
||||
}, status=400)
|
||||
}, status=418)
|
||||
except Exception:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue