A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(media-proxy): log why the upload relay can't spool a body (#3754)
Hampus9bf4a0476855
diff --git a/fluxer_media_proxy/src/server/routes/relay.rs b/fluxer_media_proxy/src/server/routes/relay.rsindex 040107936..7a1d8708c 100644--- a/fluxer_media_proxy/src/server/routes/relay.rs+++ b/fluxer_media_proxy/src/server/routes/relay.rs@@ -157,7 +157,8 @@ pub(in crate::server) async fn relay_put(app.metrics.relay().relay_upstream_failures_retryable.inc();return relay_error(RelayError::UpstreamRetryable);}- Err(SpoolError::Io(_)) => {+ Err(SpoolError::Io(err)) => {+ warn!(error = %err, spool_dir = %app.cfg.upload_relay.spool_dir.display(), "upload relay couldn't spool the request body");return relay_error(RelayError::InternalError);}};