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
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

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 })
}
}