Bugfix: Pass axios error into log call for proxmox. (#2012)

* add error to proxmox api log call

* Update src/server/api/routers/health-monitoring/proxmox.ts

Co-authored-by: Thomas Camlong <thomas@ajnart.fr>

---------

Co-authored-by: Thomas Camlong <thomas@ajnart.fr>
This commit is contained in:
Dylan Slattery
2024-04-18 14:07:12 -05:00
committed by GitHub
parent 53d1a57f3d
commit f1dc67f206

View File

@@ -31,7 +31,7 @@ export async function makeProxmoxStatusAPICall(app: ConfigAppType, input: any) {
})
.catch((error) => {
Consola.error(
`'proxmox': Error accessing service API: '${appUrl}'. Please check the configuration.`
`'proxmox': Error accessing service API: '${appUrl}'. The following error was returned: ${error}`
);
return null;
})