then() ropagates exceptions properly
authorSam Merat <sammerat@fb.com>
Thu, 18 Jun 2015 18:42:07 +0000 (11:42 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 19 Jun 2015 02:30:12 +0000 (19:30 -0700)
commit372fad515345d453e340a01b54b2ded98a6f2f40
tree9f8874c943f55f7ace73577c8a45e0c1b0d8aef9
parent86e0057c168a70f5cbe8a1d5397ee7bd0beb16d8
then() ropagates exceptions properly

Summary: fixed then() exceptions propagation and added unit-test

Reviewed By: @fugalh

Differential Revision: D2159075
folly/futures/Future-inl.h
folly/futures/test/ThenTest.cpp