chore: ignore wrong second argument argument for cause
see: https://github.com/tc39/proposal-error-cause
This commit is contained in:
parent
8937b42321
commit
6ff621ada1
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ export async function refreshToken(persist: boolean): Promise<AxiosResponse> {
|
||||||
return response
|
return response
|
||||||
|
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
// @ts-ignore
|
||||||
throw new Error('Error renewing token: ', { cause: e })
|
throw new Error('Error renewing token: ', { cause: e })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue