fix deprecated Promise::setException()
authorJames Sedgwick <jsedgwick@fb.com>
Wed, 28 Jan 2015 21:55:45 +0000 (13:55 -0800)
committerwoo <woo@fb.com>
Mon, 2 Feb 2015 21:14:14 +0000 (13:14 -0800)
commit7b5d03d60aaeeb217fb33d3d3f9be24cc3d0b6b9
tree852ebe8736f3ef175a08ca208c72c26b408b1095
parentfcccccc25b83981675b9a2c61b13a8b5a8e5257d
fix deprecated Promise::setException()

Summary: should have been using fulfilTry anyways. and fulfilTry needs to take the Try by value so fix that too

Test Plan: unit

Reviewed By: hans@fb.com

Subscribers: fugalh, folly-diffs@, jsedgwick

FB internal diff: D1808923

Tasks: 6098987

Signature: t1:1808923:1422478981:d4b9727394339c996ebccb7841b94e0c7b2bffb4
folly/futures/Promise-inl.h
folly/futures/Promise.h
folly/wangle/channel/OutputBufferingHandler.h