Page MenuHomePhorge

Fix exception handling in ConpherenceViewController::handleRequest()
ClosedPublic

Authored by aklapper on Aug 15 2024, 13:58.
Tags
None
Referenced Files
F4011731: D25780.1746626544.diff
Tue, May 6, 14:02
F3701655: D25780.1745602786.diff
Thu, Apr 24, 17:39
F3686798: D25780.1745586558.diff
Thu, Apr 24, 13:09
F3680663: D25780.1745554755.diff
Thu, Apr 24, 04:19
F3675562: D25780.1745516567.diff
Wed, Apr 23, 17:42
F3609582: D25780.1745296220.diff
Mon, Apr 21, 04:30
F3602582: D25780.1745153649.diff
Sat, Apr 19, 12:54
F3387589: D25780.1744439164.diff
Fri, Apr 11, 06:26

Details

Summary

It is only possible throw an Exception class. Aphront400Response is not an Exception class but a Phobject.
Thus return it, like the Aphront404Responses within the same method.

Test Plan

Check parent classes; run static code analysis. Hack the code to force that return,
and successfully obtain an HTTP 400 status code page.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable