From 72c110fb966945e66a4fe0c5a95598be80ba4b8e Mon Sep 17 00:00:00 2001 From: Jill Regan Date: Fri, 20 Feb 2026 17:50:24 -0500 Subject: [PATCH] Try mroe logging --- src/utils.ts | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index 449b020..135589e 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -94,12 +94,18 @@ const getSecretFromConnectItem = async ( // If a file was found, get the content of the file if (fileId) { - const content = await client.getFileContent( - parsed.vault, - parsed.item, - fileId, - ); - return content; + try { + core.info(`Getting file content: vault=${parsed.vault} item=${parsed.item} fileId=${fileId}`); + const content = await client.getFileContent( + parsed.vault, + parsed.item, + fileId, + ); + return content; + } catch (err) { + core.error(`getFileContent failed: ${getErrorMessage(err)}`); + throw err; + } } if (parsed.section) {