Catches bad objects being encoded, returning instead the error. Symptom- Observed that global context would not display in front end, the call returning 400. Traced to an object in global which cause encodeObject to except. This push catches that, and now global will display, but the object in question display as an error.
Catches bad objects being encoded, returning instead the error.
Symptom- Observed that global context would not display in front end, the call returning 400.
Traced to an object in global which cause encodeObject to except.
This push catches that, and now global will display, but the object in question display as an error.

mw75/node-red,btsimonh/node-red,mw75/node-red,node-red/node-red,btsimonh/node-red,node-red/node-red,btsimonh/node-red,HiroyasuNishiyama/node-red,HiroyasuNishiyama/node-red,namgk/node-red,HiroyasuNishiyama/node-red,mw75/node-red,mw75/node-red,namgk/node-red,node-red/node-red