Problem description
The CLI is showing out error messages if catches the word "error" inside an object.
Steps to reproduce
Lets say I have object:
var foo = {
results: {a: "bar"},
error: {x:'zeta'}
};
When I do something like:
Ti.API.warn(foo);
The console will pick up on the error key in foo, and not output it, but
rather use it to colorize the terminal as error.
This is the output I'm getting from the CLI:
[WARN] {
[ERROR] = {
[ERROR] x = zeta;
[ERROR] };
[ERROR] results = {
[ERROR] a = bar;
[ERROR] };
[ERROR] }
Dupe of TIMOB-12809.
Closing ticket as duplicate.