Skip to content

Commit

Permalink
Revert "Fixed 500 status code bad error reporting"
Browse files Browse the repository at this point in the history
This reverts commit bd0d962.
  • Loading branch information
jain-naman-sf committed Oct 30, 2023
1 parent 1d476df commit da5fa5b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/js/utils/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ const apiFetch = (
if (suppressErrorsOn.includes(response.status)) {
return null;
}
if (response.status === 500) {
return 'Something went Wrong';
}
let msg = response.statusText;
if (body) {
if (typeof body === 'string') {
Expand Down

0 comments on commit da5fa5b

Please sign in to comment.