Skip to content

Commit

Permalink
add err desc
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Jul 17, 2023
1 parent b1e1027 commit 0ee992e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/iamError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export const checkIamDown = (axiosErr: AxiosError) => {
},
response,
statusCode,
message: axiosErr?.message,
code: axiosErr?.code,
}
const apiUrl = axiosErr?.config?.url ?? ''

Expand Down

0 comments on commit 0ee992e

Please sign in to comment.