Silence "minidump endpoint not set" errors' backtraces in the logs (#36404)

<img width="1899" height="693" alt="bad"
src="https://github.com/user-attachments/assets/6e6eb2d7-0933-4bb7-b339-ecebba00b60b"
/>

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-08-18 13:45:51 +03:00 committed by GitHub
parent 472f1a8cc2
commit d83f341d27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -550,7 +550,8 @@ async fn upload_previous_panics(
pub async fn upload_previous_minidumps(http: Arc<HttpClientWithUrl>) -> anyhow::Result<()> {
let Some(minidump_endpoint) = MINIDUMP_ENDPOINT.as_ref() else {
return Err(anyhow::anyhow!("Minidump endpoint not set"));
log::warn!("Minidump endpoint not set");
return Ok(());
};
let mut children = smol::fs::read_dir(paths::logs_dir()).await?;