File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,14 @@ export const HELPER = {
4646 try {
4747 const response = await fetchWithMethodFallback ( env . NPM_HEALTH_URL , { signal : controller . signal } ) ;
4848 if ( this . isCloudflareError ( response ) && response . status >= 520 && response . status <= 529 ) {
49- console . log ( "COUCOU NPM is down ERROR NPM_HEALTH_URL: " + env . NPM_HEALTH_URL ) ;
49+ console . log ( "COUCOU NPM is down ERROR1 NPM_HEALTH_URL: " + env . NPM_HEALTH_URL ) ;
50+ console . log ( "COUCOU NPM is down ERROR2 NPM_HEALTH_URL: " ) ;
5051 return false ;
5152 }
5253 return response . status > 0 && response . status < 500 ;
5354 } catch {
5455 console . log ( "COUCOU NPM is down CATCH NPM_HEALTH_URL: " + env . NPM_HEALTH_URL ) ;
56+ console . log ( "COUCOU NPM is down CATCH2 NPM_HEALTH_URL: " ) ;
5557 return false ;
5658 } finally {
5759 clearTimeout ( id ) ;
You can’t perform that action at this time.
0 commit comments