mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 02:36:18 +08:00
Log stack trace for cache errors
This commit is contained in:
parent
f1d0d15603
commit
0d13054264
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/post/index.js
vendored
2
dist/post/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -103,6 +103,9 @@ export function handleCacheFailure(error: unknown, message: string): void {
|
|||||||
} else {
|
} else {
|
||||||
// Warn on all other errors
|
// Warn on all other errors
|
||||||
core.warning(`${message}: ${error}`)
|
core.warning(`${message}: ${error}`)
|
||||||
|
if (error instanceof Error && error.stack) {
|
||||||
|
cacheDebug(error.stack)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user