cocos2d-html5
cocos2d-html5 copied to clipboard
Catch textures errors
trafficstars
In some cases, textures2d can fire exceptions, which stops whole cocos from working. We have collected a bunch of errors from Sentry and added try/catch in places where the errors have occurred in real players.
Sorry I can't merge try catch usages like this, can you explain in which condition Texture2D fire exceptions ?