Logging improvement
parent
d106c3a748
commit
67fc632a13
|
|
@ -499,7 +499,7 @@ class Caching {
|
||||||
else {
|
else {
|
||||||
cloud_runner_logger_1.default.logCli(`cache item doesn't exist`);
|
cloud_runner_logger_1.default.logCli(`cache item doesn't exist`);
|
||||||
if (cacheSelection !== ``) {
|
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}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -49,7 +49,7 @@ export class Caching {
|
||||||
} else {
|
} else {
|
||||||
CloudRunnerLogger.logCli(`cache item doesn't exist`);
|
CloudRunnerLogger.logCli(`cache item doesn't exist`);
|
||||||
if (cacheSelection !== ``) {
|
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) {
|
} catch (error) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue