add error print
Merge branch 'runtime' of https://github.com/chuanweizhang2013/cocos2d-x into runtime