Page MenuHomePhabricator

Return a HTTP 500 instead of a HTTP 400 if an internal error occurs in the Aphlict server
ClosedPublic

Authored by joshuaspence on Jul 17 2014, 11:08 PM.
Tags
None
Referenced Files
F21236917: D9968.id23953.diff
Tue, Jul 7, 9:27 PM
Unknown Object (File)
Mar 23 2026, 10:24 PM
Unknown Object (File)
Mar 6 2026, 8:54 PM
Unknown Object (File)
Mar 4 2026, 2:18 AM
Unknown Object (File)
Feb 14 2026, 10:47 PM
Unknown Object (File)
Feb 11 2026, 11:42 AM
Unknown Object (File)
Feb 1 2026, 10:10 PM
Unknown Object (File)
Jan 29 2026, 5:22 PM
Subscribers

Details

Summary

Ref T5651. Only throw a HTTP 400 if the data is invalid (i.e. the request is bad). If something bad happens when trying to transmit the notification, throw a HTTP 500 instead.

Test Plan

Eye-ball it.

Diff Detail

Repository
rP Phabricator
Branch
aphlict500
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1753
Build 1754: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Return a HTTP 500 instead of a HTTP 400 if an internal error occurs in the Aphlict server.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jul 17 2014, 11:17 PM