mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-31 18:20:10 +08:00 
			
		
		
		
	add some console logs for docker.ts
Signed-off-by: Fedor Dikarev <fedor.dikarev@gmail.com>
This commit is contained in:
		
							parent
							
								
									3d826b844f
								
							
						
					
					
						commit
						fd11be1ef0
					
				| @ -37,9 +37,11 @@ export async function logout(registry: string): Promise<void> { | |||||||
| function isRetriableError(error_message: string, http_codes_to_retry: string[]): boolean { | function isRetriableError(error_message: string, http_codes_to_retry: string[]): boolean { | ||||||
|   for (const err_code of http_codes_to_retry) { |   for (const err_code of http_codes_to_retry) { | ||||||
|     if (error_message.includes('failed with status: ' + err_code)) { |     if (error_message.includes('failed with status: ' + err_code)) { | ||||||
|  |       console.log(error_message + 'match the code' + err_code); | ||||||
|       return true; |       return true; | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |   console.log('no matches for ' + error_message); | ||||||
|   return false; |   return false; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Fedor Dikarev
						Fedor Dikarev