File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: Dev Packages
22
33on :
44 workflow_dispatch :
5+ push :
6+ branches :
7+ - " **"
8+ tags-ignore :
9+ - " **"
510
611env :
712 SECRETS : ${{ toJSON(secrets) }}
Original file line number Diff line number Diff line change @@ -72,7 +72,13 @@ export async function getChromeDriverDetails(
7272
7373 const url = `https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_${ chromeDetails . chromeVersion } ` ;
7474
75- const chromeDriverVersion = await fetchText ( url ) ;
75+ let chromeDriverVersion : string ;
76+ try {
77+ chromeDriverVersion = await fetchText ( url ) ;
78+ } catch ( e ) {
79+ console . error ( `Failed to fetch ChromeDriver version ${ chromeDetails . chromeVersion } ` ) ;
80+ throw e ;
81+ }
7682
7783 return {
7884 chromeDriverVersion,
You can’t perform that action at this time.
0 commit comments