Let the developer handle the internal error.

On Internal error happens, for currently the SDK just echo the JSON error string and terminate the script. We should let the developer who use the SDK handles that  error.