mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 14:47:19 +02:00
add a print to catch errors
This commit is contained in:
parent
4c63ad1ac8
commit
f6bd04780d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue