Skip to content

Commit 6a70be3

Browse files
committed
Reduce cas_downloader disabled error message
The previous version was outputting a stacktrace to the user's CLI by default. This version keeps that information, but by default that full reason is only output to the `fetch.log`.
1 parent a7ba947 commit 6a70be3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/cvd/cuttlefish/host/libs/web/cas/cas_downloader.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ Result<std::unique_ptr<CasDownloader>> CasDownloader::Create(
295295
// Ensure callers and logs clearly indicate that CAS downloading is
296296
// disabled and why, using the same environment-aware formatting that
297297
// test helpers use.
298-
LOG(INFO) << "CAS downloading disabled: " << result.error();
298+
LOG(INFO) << "CAS downloading disabled, see log for reason.";
299+
LOG(DEBUG) << "CAS downloading disabled: " << result.error();
299300
return result;
300301
}
301302

0 commit comments

Comments
 (0)