add a print to catch errors

This commit is contained in:
James B. Pollack 2016-08-26 11:56:40 -07:00
parent 4c63ad1ac8
commit f6bd04780d

View file

@ -1373,6 +1373,7 @@ var PropertiesTool = function (opts) {
data = JSON.parse(data);
}
catch(e) {
print('web event was not valid json.')
return;
}
var i, properties, dY, diff, newPosition;