Merge pull request #619 from nsacyber/v3_page-controller-parse-fix

Uploading Platform Credential IllegalStateException Fix
This commit is contained in:
Cyrus 2023-11-14 10:15:39 -05:00 committed by GitHub
commit 3a8b564da1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -842,6 +842,12 @@ public class CertificatePageController extends PageController<NoPageParams> {
log.error(failMessage, iaEx);
messages.addError(failMessage + iaEx.getMessage());
return null;
} catch (IllegalStateException isEx) {
final String failMessage = String.format(
"Unexpected object while parsing %s ", fileName);
log.error(failMessage, isEx);
messages.addError(failMessage + isEx.getMessage());
return null;
}
}