From 99d411b2bff8ffb8a514ea9fc66d1cac33b87437 Mon Sep 17 00:00:00 2001 From: Gonzalo Avalos Ribas Date: Wed, 31 Jul 2024 11:01:05 -0300 Subject: [PATCH] Added error logging --- src/util/cmdbHierarchyUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/cmdbHierarchyUtils.ts b/src/util/cmdbHierarchyUtils.ts index 0d0a36e..9ea7e20 100644 --- a/src/util/cmdbHierarchyUtils.ts +++ b/src/util/cmdbHierarchyUtils.ts @@ -70,7 +70,7 @@ async function getParentClass( } } catch (error) { logger.error( - { err: error, result: dictionariesPaginatedResponse.result }, + { err: error, res: dictionariesPaginatedResponse }, 'Could not find super class', ); throw error;