epam / Wilma

Service Virtualization Solution – a combined Service Stub and Transparent Proxy
GNU General Public License v3.0
58 stars 12 forks source link

Enable pretty printing of malformed JSON messages #63

Closed tkohegyi closed 9 years ago

tkohegyi commented 9 years ago

ERROR c.e.w.c.p.e.PrettyPrintProcessor - Error during pretty printing of message with Wilma Logger ID: resp20150924070122.0004! Reason:com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 14

So add JsonReader.setLenient(true) to handle malformed JSON messages too.

tkohegyi commented 9 years ago

Fixed, in master.