We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1764a0 commit 3fe951dCopy full SHA for 3fe951d
src/webserver/http_request_info.rs
@@ -166,8 +166,8 @@ async fn extract_multipart_post_data(
166
.await
167
.with_context(|| {
168
format!(
169
- "Failed to extract file {field_name:?}. Max file size: {:.3} MB",
170
- config.max_uploaded_file_size as f32 / 1_000_000.0
+ "Failed to extract file {field_name:?}. Max file size: {} kiB",
+ config.max_uploaded_file_size / 1_024
171
)
172
})?;
173
log::trace!("Extracted file {field_name} to {:?}", extracted.file.path());
0 commit comments