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:
@@ -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;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user