Skip to content

Conversation

@cody-constine-ttd
Copy link
Contributor

No description provided.

Copy link
Contributor

@thomasm-ttd thomasm-ttd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comments.

try {
JsonArray dataArray = contents.getJsonArray(dataType);
if (dataArray == null) {
throw new IllegalArgumentException("No array found in the contents");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be useful to include the dataType in the error message?

@cody-constine-ttd cody-constine-ttd merged commit dc2a8ff into main Jan 9, 2025
1 check passed
@cody-constine-ttd cody-constine-ttd deleted the cbc-UID2-4454-cloud-encryption-operator branch January 9, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants