We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bbbc68 commit 256bfb9Copy full SHA for 256bfb9
1 file changed
src/secrets.js
@@ -40,7 +40,7 @@ async function getSecrets(secretRequests, client) {
40
responseCache.set(requestPath, body);
41
} catch (error) {
42
const {response} = error;
43
- if (response.statusCode === 404) {
+ if (response?.statusCode === 404) {
44
throw Error(`Unable to retrieve result for "${path}" because it was not found: ${response.body.trim()}`)
45
}
46
throw error
0 commit comments