lichen-community-systems / Flocking

Flocking - Creative audio synthesis for the Web
GNU General Public License v2.0
695 stars 60 forks source link

flock.pathParseError provides distinctly unhelpful diagnostics when a call to Synth.set() fails #174

Closed colinbdclark closed 6 years ago

colinbdclark commented 8 years ago

At the moment, flock.pathParseError(), which is invoked whenever an invalid path is encountered, attempts to log the entire root object on which the path is being invoked. When such an error occurs while calling set() on a synth, this is massively unhelpful since the root object is the entire synth, and logging it is incredibly verbose in an helpful.

We should provide a more helpful diagnostic.