nutz icon indicating copy to clipboard operation
nutz copied to clipboard

如果JsonInjector.get函数的输入值为null零, 则更改错误消息。

Open pingpingy1 opened this issue 11 months ago • 1 comments

如果JsonInjector.get函数中refer的值为null,则会导致 NPE 发生在变量更改之后。 这使得查看错误消息并确认错误是否由refer的值引起变得困难。 本次 PR 修改为在变量更改之前直接触发错误,以便返回更有利于进一步调试的信息。

pingpingy1 avatar Mar 07 '24 13:03 pingpingy1

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 07 '24 13:03 CLAassistant