diff --git a/src/app/code/YiviApi.ts b/src/app/code/YiviApi.ts index d838c9d3..3c8fc58b 100644 --- a/src/app/code/YiviApi.ts +++ b/src/app/code/YiviApi.ts @@ -90,7 +90,7 @@ export class YiviApi { } throw Error(errorMsg); } catch (error: any) { - console.error('Error while doing signed post request for endpoint', path); + console.error('Error while doing signed post request for endpoint:', path, error?.response?.data); console.timeEnd('request to ' + path); if (axios.isAxiosError(error)) { if (error.response) {