pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/github/codeql-action/commit/4250b466b25637ec7f8d39a3c5bd50d5d413bc1e

sorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-95af332f763e4560.css" /> Wrap `checkProxyEnvironment` call in `try`/`catch` for good measure · github/codeql-action@4250b46 · GitHub
Skip to content

Commit 4250b46

Browse files
committed
Wrap checkProxyEnvironment call in try/catch for good measure
1 parent a3d7d36 commit 4250b46

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

lib/start-proxy-action.js

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/start-proxy-action.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,15 @@ async function run(startedAt: Date) {
7878
);
7979

8080
// Check the environment for any configurations which may affect the proxy.
81-
checkProxyEnvironment(logger, language);
81+
// This is a best effort process to give us insights into potential factors
82+
// which may affect the operation of our proxy.
83+
try {
84+
checkProxyEnvironment(logger, language);
85+
} catch (err) {
86+
logger.debug(
87+
`Unable to inspect runner environment: ${util.getErrorMessage(err)}`,
88+
);
89+
}
8290

8391
const ca = generateCertificateAuthority(
8492
await features.getValue(Feature.ImprovedProxyCertificates),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy