Skip to content

Commit

Permalink
Merge pull request #307 from jfdenise/main
Browse files Browse the repository at this point in the history
Fix for WFGP-288, Class cast exception when error occurs during provisioning
  • Loading branch information
jfdenise authored Oct 14, 2024
2 parents 231bb01 + e4ef6f9 commit 7cf288a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ Boolean dmr_isSuccessful(Object response) throws ConfigGeneratorException {

String dmr_getFailureDescription(Object response) throws ConfigGeneratorException {
try {
return (String) getFailureDescriptionMethod.invoke(null, response);
Object obj = getFailureDescriptionMethod.invoke(null, response);
return dmr_asString(obj);
} catch (Exception ex) {
throw new ConfigGeneratorException(ex);
}
Expand Down

0 comments on commit 7cf288a

Please sign in to comment.