log emitted shallow decl errors to scuba
commit1b7b9bc4cc0a9a767d40ea66ee8fb718a4052c5b
authorMillie Chen <milliechen@fb.com>
Thu, 21 Jan 2021 00:41:14 +0000 (20 16:41 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 21 Jan 2021 00:44:09 +0000 (20 16:44 -0800)
tree17b98d7fff7520447c58ec95ed801c004ee84550
parent0405cfdd8ee1ea9842506a2f0c85a3aa034b4c1f
log emitted shallow decl errors to scuba

Summary: shallow decl is not supposed to emit any errors. If it does, log the errors along with the call stack to scuba for debugging purposes.

Reviewed By: ljw1004

Differential Revision: D25838071

fbshipit-source-id: 9dc660bd627771bcbc81c79b8af85cb83869b7b0
hphp/hack/src/decl/shallow_decl.ml
hphp/hack/src/stubs/logging/hackEventLogger.ml