Page MenuHomePhorge

Fix exception handling in ConpherenceViewController::handleRequest()
ClosedPublic

Authored by aklapper on Aug 15 2024, 13:58.
Tags
None
Referenced Files
F2991956: D25780.1740198771.diff
Fri, Feb 21, 04:32
F2991955: D25780.1740198770.diff
Fri, Feb 21, 04:32
F2990385: D25780.1740177364.diff
Thu, Feb 20, 22:36
F2981925: D25780.1739943085.diff
Tue, Feb 18, 05:31
F2947775: D25780.1738497808.diff
Sat, Feb 1, 12:03
F2945436: D25780.1738317638.diff
Thu, Jan 30, 10:00
F2935898: D25780.1737883023.diff
Sat, Jan 25, 09:17
F2935883: D25780.1737881777.diff
Sat, Jan 25, 08:56

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