Page MenuHomePhabricator

Upload API backwards error messages
Closed, ResolvedPublic

Description

Author: russblau

Description:
In testing client code to use action=upload, I have received at various times the following error messages:

code=<bad-url>
info=fetchfileerror

code=<Error sending request: #28 connect() timed out!>
info=fetchfileerror

code=<Error sending request: #7 couldn't connect to host>
info=fetchfileerror

It seems apparent that the "code" and "info" elements are being reversed; also, the use of < and > delimiters around the info message is inconsistent with how errors are reported by other API modules.


Version: 1.16.x
Severity: minor

Details

Reference
bz21235

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:51 PM
bzimport set Reference to bz21235.

Bryan.TongMinh wrote:

Switched code/info around in r58291.

What's the current state of this bug?