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
@@ -66,13 +66,16 @@ export abstract class RelewiseClient {
66
66
});
67
67
68
68
if(!response.ok){
69
-
letresponseMessage=null;
69
+
letresponseMessage: HttpProblemDetails|null=null;
70
+
70
71
try{
71
72
responseMessage=awaitresponse.json();
72
73
}catch(_){
73
74
}
74
75
75
-
thrownewProblemDetailsError(`Error when calling the Relewise API.\n\nTitle: ${response.statusText}\nStatus: ${response.status}\n\nRead more in the details property if there is error response or look in the network tab.`,responseMessage);
thrownewProblemDetailsError(`Error when calling the Relewise API.\n\nTitle: ${response.statusText}\nStatus: ${response.status}\n${details}\nRead more in the details property if there is error response or look in the network tab.`,responseMessage);
0 commit comments