Closed Bug 2087363 Opened 1 month ago Closed 27 days ago

Spurious warnings in JSON response

Categories

(Conduit :: Phabricator, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2086874

People

(Reporter: shtrom, Unassigned)

Details

We should not return warnings in HTTP responses, as they mess up JSON, e.g.,

<br />
<b>Warning</b>:  PHP Request Startup: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in <b>Unknown</b> on line <b>0</b><br />

Context

When using ARC to submit https://phabricator.services.mozilla.com/D338173, :adw got this error:

arc diff 'p1(tip)' --only
Linting...
No lint engine configured for this project.
Running unit tests...
No unit test engine is configured for this project.
 Exception
Host returned HTTP/200, but invalid JSON data in response to a Conduit method call.
Parse error on line 1 at column 0: Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
(Run with `--trace` for a full exception trace.)
Status: NEW → RESOLVED
Closed: 27 days ago
Duplicate of bug: 2086874
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.