From f1dc67f206613045c0cad0b7fd9cb0fb8d32ad60 Mon Sep 17 00:00:00 2001 From: Dylan Slattery Date: Thu, 18 Apr 2024 14:07:12 -0500 Subject: [PATCH] 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 --------- Co-authored-by: Thomas Camlong --- src/server/api/routers/health-monitoring/proxmox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/routers/health-monitoring/proxmox.ts b/src/server/api/routers/health-monitoring/proxmox.ts index 5fe6121bb86..0a7673b75cd 100644 --- a/src/server/api/routers/health-monitoring/proxmox.ts +++ b/src/server/api/routers/health-monitoring/proxmox.ts @@ -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; })