Web: Common: Remove error routing on 500 error
This commit is contained in:
parent
886c7d6464
commit
1dff214c06
@ -33,9 +33,6 @@ client.interceptors.response.use(
|
||||
window.location.href = "/payments";
|
||||
}
|
||||
break;
|
||||
case error.response.status >= 500:
|
||||
history.push(`/error=${error.message}`);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user