Skip to content

Commit

Permalink
Merge pull request #403 from Avarjana/master
Browse files Browse the repository at this point in the history
Add ClassCastException for request body json decoding
  • Loading branch information
Avarjana committed Jun 26, 2024
2 parents 1ffe27b + 92a75e1 commit bf2982c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ public ArrayList<PatchOperation> decodeRequest(String scimResourceString) throws
patchOperation.setValues(operation.opt(SCIMConstants.OperationalConstants.VALUE));
operationList.add(patchOperation);
}
} catch (JSONException e) {
} catch (JSONException | ClassCastException e) {
if (logger.isDebugEnabled()) {
logger.debug("json error in decoding the request", e);
}
Expand Down

0 comments on commit bf2982c

Please sign in to comment.