|
|
@ -51558,7 +51558,8 @@ function retryTypedResponse(name, method, maxAttempts = constants_1.DefaultRetry
|
|
|
|
// an ITypedResponse<T> so it can be processed by the retry logic.
|
|
|
|
// an ITypedResponse<T> so it can be processed by the retry logic.
|
|
|
|
(error) => {
|
|
|
|
(error) => {
|
|
|
|
if (error instanceof http_client_1.HttpClientError) {
|
|
|
|
if (error instanceof http_client_1.HttpClientError) {
|
|
|
|
console.log(error);
|
|
|
|
console.log("\n\nRESULT\n\n");
|
|
|
|
|
|
|
|
console.log(error.result);
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
statusCode: error.statusCode,
|
|
|
|
statusCode: error.statusCode,
|
|
|
|
result: null,
|
|
|
|
result: null,
|
|
|
|