February 17, 2009
DataResponse.getErrorMessage() showing undefined for updatePersonAppData
I was testing updatePersonAppData on orkut. I deliberately tried to create an error by giving a wrong id such as "" instead of "VIEWER". I find that hadError() does return true, but getErrorMessage() returns undefined. I kind of expected getErrorMessage() to return something interesting to help us debug. Sadly, it returns undefined.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment