Commit c96f46a5 authored by Juan Manuel Solaro's avatar Juan Manuel Solaro

(fix) also log status an status text

1 merge request!447Log message to sentry when json parse error occur
......@@ -36,7 +36,7 @@ class ApiService {
try {
return await response.json();
} catch (error) {
Sentry.captureMessage(`ISSUE #1572 URL: ${response.url}`);
Sentry.captureMessage(`ISSUE #1572 URL: ${response.url}, STATUS: ${response.status} STATUSTEXT: ${response.statusText}`);
throw error;
}
}
......
Please register or to comment