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
F19233542: D9968.diff
Sun, Dec 21, 5:42 PM
F19099305: D9968.id23951.diff
Dec 4 2025, 7:36 PM
F19099288: D9968.id23953.diff
Dec 4 2025, 7:36 PM
F18903711: D9968.id.diff
Nov 8 2025, 6:04 AM
F18839258: D9968.id.diff
Oct 27 2025, 3:18 PM
F18836221: D9968.diff
Oct 26 2025, 11:15 PM
F18652914: D9968.id23953.diff
Sep 21 2025, 10:10 AM
F18651447: D9968.diff
Sep 21 2025, 4:23 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