Merge branch 'ExceptionsAndOthers' of git@github.com:Stirling-Tools/Stirling-PDF.git into ExceptionsAndOthers

This commit is contained in:
a 2025-07-04 23:06:49 +01:00
commit 64e2feaa26

View File

@ -166,7 +166,7 @@ public class CertSignController {
Integer pageNumber = request.getPageNumber() != null ? (request.getPageNumber() - 1) : null; Integer pageNumber = request.getPageNumber() != null ? (request.getPageNumber() - 1) : null;
Boolean showLogo = request.getShowLogo(); Boolean showLogo = request.getShowLogo();
if (certType == null || certType.trim().isEmpty()) { if (StringUtils.isBlank(certType)) {
throw ExceptionUtils.createIllegalArgumentException( throw ExceptionUtils.createIllegalArgumentException(
"error.optionsNotSpecified", "error.optionsNotSpecified",
"{0} options are not specified", "{0} options are not specified",