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
F13142334: D9968.diff
Fri, May 3, 6:00 AM
Unknown Object (File)
Fri, Apr 26, 3:33 AM
Unknown Object (File)
Wed, Apr 24, 11:06 PM
Unknown Object (File)
Sat, Apr 20, 7:22 PM
Unknown Object (File)
Thu, Apr 11, 10:07 AM
Unknown Object (File)
Mar 10 2024, 7:11 PM
Unknown Object (File)
Feb 10 2024, 3:32 PM
Unknown Object (File)
Feb 2 2024, 3:31 AM
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