Re: [DISCUSS] Remove exception.getMessage() error handling

2019-05-24 Thread Dan Smith
I think the right thing to do in those 100+ cases may be different in each case, a blanket search and replace might not be the best idea. -Dan On Fri, May 24, 2019 at 3:05 PM Jinmei Liao wrote: > does exception.toString() print out the entire stack trace? If so, I don't > think we should use

Re: [DISCUSS] Remove exception.getMessage() error handling

2019-05-24 Thread Jinmei Liao
does exception.toString() print out the entire stack trace? If so, I don't think we should use that to replace exception.getMessage(). On Fri, May 24, 2019 at 1:18 PM Jack Weissburg wrote: > Hi All, > > Owen and I investigated a strange error message caused because Geode > previously handled an

[DISCUSS] Remove exception.getMessage() error handling

2019-05-24 Thread Jack Weissburg
Hi All, Owen and I investigated a strange error message caused because Geode previously handled an error exception with exception.getMessage() instead of exception.toString(). The issue is that the exception message from exception.getMessage() could be unhelpful or empty. Instead, we should retu