chore: ignore wrong second argument argument for cause

see: https://github.com/tc39/proposal-error-cause
This commit is contained in:
Dominik Pschenitschni 2022-01-30 16:58:59 +01:00
parent 8937b42321
commit 6ff621ada1
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ export async function refreshToken(persist: boolean): Promise<AxiosResponse> {
return response
} catch(e) {
// @ts-ignore
throw new Error('Error renewing token: ', { cause: e })
}
}