Friends: Error out if malformed data is received
Friends: Error out if malformed data is received

Related to my previous commit. This should tell us properly what the issue is, since on more inspection it appears to return a valid result - just with an undefined result property. This shouldn't happen, unless there's also an error property. The fact there isn't suggests a different bug, but more verbose errors will clear that up.

xfix/Pokemon-Showdown,svivian/Pokemon-Showdown,xfix/Pokemon-Showdown,xfix/Pokemon-Showdown,xfix/Pokemon-Showdown,svivian/Pokemon-Showdown,svivian/Pokemon-Showdown,svivian/Pokemon-Showdown,svivian/Pokemon-Showdown,xfix/Pokemon-Showdown