Page MenuHomePhorge

Fix exception handling in ConpherenceViewController::handleRequest()
ClosedPublic

Authored by aklapper on Aug 15 2024, 13:58.
Tags
None
Referenced Files
F3295827: D25780.1742962259.diff
Tue, Mar 25, 04:10
F3294290: D25780.1742932450.diff
Mon, Mar 24, 19:54
F3293523: D25780.1742916008.diff
Mon, Mar 24, 15:20
F3291721: D25780.1742880273.diff
Mon, Mar 24, 05:24
F3289421: D25780.1742846518.diff
Sun, Mar 23, 20:01
F3254887: D25780.1742488011.diff
Wed, Mar 19, 16:26
F3224409: D25780.1742024140.diff
Fri, Mar 14, 07:35
F2991956: D25780.1740198771.diff
Feb 21 2025, 04:32

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