You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewInvalidOperationException($"{nameof(request.OverrideDecodeResponse)} has been selected, but result does not derive from {nameof(CustomResponse)}");
231
+
}
232
+
customResponse.DecodeResponse(responseText);
224
233
}
225
-
catch(FormatExceptionex)
234
+
else
226
235
{
227
-
thrownewFormatException("Could not decode CloudStack API Response",ex);
236
+
try
237
+
{
238
+
response=DecodeResponse<TResponse>(responseText);
239
+
}
240
+
catch(FormatExceptionex)
241
+
{
242
+
thrownewFormatException("Could not decode CloudStack API Response",ex);
243
+
}
228
244
}
245
+
246
+
returnresponse;
229
247
}
230
248
}
231
249
}
@@ -336,7 +354,12 @@ private CloudStackException CreateCloudStackException(WebException we, Uri fullU
0 commit comments