mirror of
				https://github.com/gradle/gradle-build-action.git
				synced 2025-11-04 09:58:56 +08:00 
			
		
		
		
	Log stack trace for cache errors
This commit is contained in:
		@@ -103,6 +103,9 @@ export function handleCacheFailure(error: unknown, message: string): void {
 | 
			
		||||
    } else {
 | 
			
		||||
        // Warn on all other errors
 | 
			
		||||
        core.warning(`${message}: ${error}`)
 | 
			
		||||
        if (error instanceof Error && error.stack) {
 | 
			
		||||
            cacheDebug(error.stack)
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user