It sounds like the code that is trying to produce the JSON version of the error message is failing because it is given an object it does not know how to convert to JSON (the TypeError is "is not JSON serializable"). What object is that? Is it an exception of an unknown type? Perhaps WSME just needs to be smart enough to turn those into unicode() before trying to serialize them?
It sounds like the code that is trying to produce the JSON version of the error message is failing because it is given an object it does not know how to convert to JSON (the TypeError is "is not JSON serializable"). What object is that? Is it an exception of an unknown type? Perhaps WSME just needs to be smart enough to turn those into unicode() before trying to serialize them?