mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 08:42:43 +08:00
083918f92b
* output error when node of comp is null #9214 (cherry picked from commit 2d8ac78094af8a5ef1866140abb2819ed0bf8bba) * use 'assertIsTrue' (cherry picked from commit 62a29d8cce733de49220945a2de0dd0f40e3a1f6) * update log (cherry picked from commit ad4327e95f4f1e75a18f2cb2b0e7127260a4ed35) * optimize format * add DEBUG condition and fix bug * output error when comp.name is invoked and replace condition that judge whether comp.name is valid. * remove component.name error log and optimize null node exception report Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>