CAPI: Remove "test failure propogration" forced error

This commit is contained in:
Athanasius committed 2021-08-23 18:29:32 +01:00
1 parent 7f362be740
commit ce02cfdf2d
1 file changed
-7
-7
View File
@@ -618,13 +618,6 @@ class Session(object):
break
logger.trace_if('capi.worker', f'Processing query: {endpoint}')
# XXX
self.capi_response_queue.put(
CAPIFailedRequest(f'Unable to connect to endpoint {endpoint}')
)
self.tk_master.event_generate('<<CAPIResponse>>')
continue
# XXX
try:
r = self.session.get(self.server + endpoint, timeout=timeout) # type: ignore
r.raise_for_status() # Typically 403 "Forbidden" on token expiry