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
F15437964: D9968.diff
Tue, Mar 25, 10:22 PM
F15412752: D9968.id23951.diff
Wed, Mar 19, 2:43 PM
F15399108: D9968.id23951.diff
Mon, Mar 17, 2:54 AM
F15389384: D9968.id23953.diff
Sat, Mar 15, 5:11 AM
F15387426: D9968.id.diff
Sat, Mar 15, 2:23 AM
F15383407: D9968.id.diff
Fri, Mar 14, 4:35 PM
F15334409: D9968.diff
Sat, Mar 8, 8:53 AM
Unknown Object (File)
Mar 3 2025, 3:48 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
Lint
Lint Skipped
Unit
Tests Skipped

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