Closed Bug 1584288 Opened 6 years ago Closed 6 years ago

Broken error message when incorrect bug # provided

Categories

(Conduit :: Phabricator, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1563606

People

(Reporter: nika, Unassigned)

Details

I got a broken error message when trying to land a commit with a broken bug # on it. Specifically, I tried to push patches for a bug which I did not have access to.

The error message I got looked like this:

(debug) Response: {"result": null, "error_code": "ArgumentCountError", "error_info": "Too few arguments to function PhutilErrorHandler::handleError(), 4 passed in /app/phabricator/externals/extensions/sentry/sentry/src/ErrorHandler.php on line 361 and exactly 5 expected"}

I believe that the problem is that an error handler registered by libphutil expects 5 arguments, and the sentry-php handler passes down only 4.

Thanks for the clear steps to reproduce. I've added it to the original bug. Should definitely help us fix this.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.