Fix log error information

This commit is contained in:
Pedro Fonseca 2025-04-11 16:44:03 +01:00
parent f947130346
commit 87ade7e60b

View File

@ -126,7 +126,7 @@ public class AppConfig {
return 0;
} else if (!new Regex("^[1-9][0-9]{0,2}[K|M|G]B$").matches(maxUploadSize)) {
log.error(
"Invalid maxUploadSize format. Expected format: {1,3}[0-9][K|M|G]B, but got: {}",
"Invalid maxUploadSize format. Expected format: [1-9][0-9]{0,2}[K|M|G]B, but got: {}",
maxUploadSize);
return 0;
} else {