Skip to content

Conversation

ianrumac
Copy link

Adds a InvalidMetaDataTypeException to be thrown when the meta
data tag is not a map instead of catching the exception and
returning null and adds a testInvalidMetaData test to cover it.

Adds a InvalidMetaDataTypeException to be thrown when the meta
data tag is not a map instead of catching the exception and
returning null and adds a testInvalidMetaData test to cover it.
@ianrumac
Copy link
Author

Lost a few hours looking at what's wrong since the method just catched the exception and returned null, turns out the outer meta object was an array so the parsing was failing. Just added an exception that explains it.

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.

1 participant