add type info to broken promise what()
authorJohn Sherwood <jrsherwood@fb.com>
Mon, 7 Dec 2015 20:05:28 +0000 (12:05 -0800)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Mon, 7 Dec 2015 21:20:19 +0000 (13:20 -0800)
commit56a2009b5016f207906f0fa80831b82769fd1f6a
treefd80533c8b50d05be48fbcedfdfd6cbac16169a3
parentdf9360f488069103e72267f32d119ec34cd8c12b
add type info to broken promise what()

Summary: when a promise is broken, add type info to the message. This will allow for some small improvements to debugging errors from broken promises, namely giving developers a slightly more refined target to grep for.

Reviewed By: fugalh

Differential Revision: D2725575

fb-gh-sync-id: b92edbde874e63eaeab97395da7bb52f76968800
folly/futures/FutureException.h
folly/futures/detail/Core.h
folly/futures/test/PromiseTest.cpp