* fix NPE * Optimize the handling of exceptions in response --------- Co-authored-by: caoyanan <caoyanan@growingio.com>