diff --git a/src/utils.ts b/src/utils.ts index 1531da2..89878b3 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -93,6 +93,7 @@ const getSecretFromConnectItem = async ( } // If a file was found, get the content of the file + // If a file was found, get the content of the file (with retry on 503) if (fileId) { const maxAttempts = 3; const retryDelayMs = 2000; @@ -121,10 +122,6 @@ const getSecretFromConnectItem = async ( } } } - core.error(`getFileContent failed: ${getErrorMessage(err)}`); - throw err; -} - } if (parsed.section) { throw new Error(