Skip to content

Commit 44ef890

Browse files
committed
Fix syntax error
1 parent d7959a3 commit 44ef890

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/utils.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ const getSecretFromConnectItem = async (
9393
}
9494

9595
// If a file was found, get the content of the file
96+
// If a file was found, get the content of the file (with retry on 503)
9697
if (fileId) {
9798
const maxAttempts = 3;
9899
const retryDelayMs = 2000;
@@ -121,10 +122,6 @@ const getSecretFromConnectItem = async (
121122
}
122123
}
123124
}
124-
core.error(`getFileContent failed: ${getErrorMessage(err)}`);
125-
throw err;
126-
}
127-
}
128125

129126
if (parsed.section) {
130127
throw new Error(

0 commit comments

Comments
 (0)