mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 01:46:18 +08:00
Include original error in log messages
This commit is contained in:
parent
f344e25b84
commit
887e1a09ab
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
@ -46,9 +46,9 @@ export function handleCacheFailure(error: unknown, message: string): void {
|
|||||||
if (error instanceof cache.ReserveCacheError) {
|
if (error instanceof cache.ReserveCacheError) {
|
||||||
// Reserve cache errors are expected if the artifact has been previously cached
|
// Reserve cache errors are expected if the artifact has been previously cached
|
||||||
if (isCacheDebuggingEnabled()) {
|
if (isCacheDebuggingEnabled()) {
|
||||||
core.info(message)
|
core.info(`${message}: ${error}`)
|
||||||
} else {
|
} else {
|
||||||
core.debug(message)
|
core.debug(`${message}: ${error}`)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Warn on all other errors
|
// Warn on all other errors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user