Skip to content

Commit 158180a

Browse files
authored
fix: Enhance error handling for additional HTTP status codes in RequestHttp class (#11151)
1 parent dbe479e commit 158180a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/src/api/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ class RequestHttp {
103103
router.push({ name: 'Expired' });
104104
return;
105105
case 500:
106+
case 502:
107+
case 524:
106108
case 407:
107109
checkStatus(
108110
response.status,

0 commit comments

Comments
 (0)