[wp-trac] [WordPress Trac] #20605: Be more friendly when API requests fail
WordPress Trac
wp-trac at lists.automattic.com
Thu May 3 00:26:53 UTC 2012
#20605: Be more friendly when API requests fail
-------------------------------------+------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: 3.4
Component: UI | Version:
Severity: normal | Resolution:
Keywords: needs-patch ux-feedback |
-------------------------------------+------------------
Comment (by nacin):
Replying to [comment:1 markjaquith]:
> So, "invalid response" => Temporary issue with WP.org and "HTTP fail" =>
local problem, point to support forums?
Yeah, pretty much. Invalid response means the HTTP request went through,
but when unserialized, the data didn't come back as expected. Note that
even a WP.org issue of 500, 404, etc. could cause this. Of course, if
api.wordpress.org times out, then it is possible for the HTTP failure to
occur.
So, "Invalid response" => Issue with WP.org, but possibly a local problem,
point to forums, "HTTP fail" => Local problem, but possibly an issue with
WP.org, point to forums.
Either way, the user is actually able to understand what went wrong, and
they are pointed to the best forum (heh) to address it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20605#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list