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
F15279371: D9968.diff
Mon, Mar 3, 3:48 AM
Unknown Object (File)
Fri, Feb 28, 11:33 PM
Unknown Object (File)
Fri, Feb 28, 9:23 PM
Unknown Object (File)
Fri, Feb 28, 9:23 PM
Unknown Object (File)
Tue, Feb 25, 5:12 PM
Unknown Object (File)
Fri, Feb 21, 10:53 PM
Unknown Object (File)
Sun, Feb 9, 2:17 PM
Unknown Object (File)
Sun, Feb 9, 2:17 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
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