Logging improvement

pull/310/head
Frostebite 2021-12-28 01:01:17 +00:00
parent d106c3a748
commit 67fc632a13
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -499,7 +499,7 @@ class Caching {
else {
cloud_runner_logger_1.default.logCli(`cache item doesn't exist`);
if (cacheSelection !== ``) {
throw new Error(`Failed to get library cache, but cache hit was found: ${cacheSelection}`);
throw new Error(`Failed to get cache item, but cache hit was found: ${cacheSelection}`);
}
}
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,7 @@ export class Caching {
} else {
CloudRunnerLogger.logCli(`cache item doesn't exist`);
if (cacheSelection !== ``) {
throw new Error(`Failed to get library cache, but cache hit was found: ${cacheSelection}`);
throw new Error(`Failed to get cache item, but cache hit was found: ${cacheSelection}`);
}
}
} catch (error) {