mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-08 03:44:31 +00:00
Merge pull request #619 from nsacyber/v3_page-controller-parse-fix
Uploading Platform Credential IllegalStateException Fix
This commit is contained in:
commit
3a8b564da1
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user