mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-06 18:30:57 +00:00
Fix log error information
This commit is contained in:
parent
f947130346
commit
87ade7e60b
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user