clientConnect preserves backtrace
commit349f98b0caa7410f13453275d770229acc79eeea
authorLucian Wischik <ljw@fb.com>
Thu, 14 Mar 2019 22:45:11 +0000 (14 15:45 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 14 Mar 2019 22:49:46 +0000 (14 15:49 -0700)
treee9cf566b208225d98fd43d13bb0fec258b223378
parent0efef7ed375e8284bcf191c4a574555db6ac16e5
clientConnect preserves backtrace

Summary:
Previously when you call "ClientConnect.connect" and it had an exception, then it used to obliterate the backtrace - solely displaying that the exception originated from ClientConnect.connect itself.

This diff preserves the backtrace.

Reviewed By: arxanas

Differential Revision: D13902131

fbshipit-source-id: e5c641ee837793dc2cd3eab72a25431ab6c84332
hphp/hack/src/client/clientConnect.ml