JSON Enabled function returns Error when Empty value is passed
After the adding JSON support for Java Fn function, if the function is passed an empty value, Fn returns:
{"message":"container exit code 2"}
Fn: Error calling function: status 502The function does work with JSON data. If you pass:
{"name":"Bob"}
or even
{"name":""}
the function works fine. Tried modifying the function to test for null and isEmpty. Nothing like that worked. I'm guessing the function is throwing an uncaught exception.
Mike W.