Get rid of try/catch in messageAvailable, which is now noexcept
authorAlan Frindell <afrind@fb.com>
Thu, 6 Apr 2017 21:00:58 +0000 (14:00 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 6 Apr 2017 21:06:34 +0000 (14:06 -0700)
commit3a7d377d9eecaf4253bf335314d5b32030f87dbf
treeb9334d3477180dce566738c8e47d95a9dd1c15f9
parent1b6b202c47642fed52b59360c5c566c20e710e47
Get rid of try/catch in messageAvailable, which is now noexcept

Summary: The problem with catching the exception here is stack information is lost.  Just let it std::terminate if it throws

Reviewed By: ikobzar

Differential Revision: D4831909

fbshipit-source-id: 42139bd7caee0fedff13328d52fa3be1c517e730
folly/io/async/EventBase.cpp
folly/io/async/test/EventBaseTest.cpp