
I'm working on my first script using the API and in testing it will eventually crash with this stack trace: /home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:1
orts, require, module, __filename, __dirname) { function g(a){throw a;}var j=v
^
Error: Firebase.update failed: First argument contains NaN in property 'rotation'
at Error ( )
at Ba (/home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:9:186)
at Ba (/home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:207)
at Aa (/home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:8:462)
at Ea (/home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:403)
at H.J.update (/home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:146:318)
at TrackedObj._doSave ( The top of the stack is outside my code so I'm having a tough time tracking down how to fix it. I added a try / catch where I access the rotation property of the object, but it looks like execution isn't getting to there. Any help on fixing issues like this? By the way my script is an event handler on "change:graphic" and it works well for a while until eventually this happens.