Add path info to serialization logs
commit1e1a31a83ca84f35f7c0bc9ee9f296de1938ec94
authorShaunak Kishore <kshaunak@fb.com>
Sat, 6 Feb 2021 06:25:02 +0000 (5 22:25 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 6 Feb 2021 06:28:19 +0000 (5 22:28 -0800)
tree0763df01f076f9051a91433e34bf3dcc8920c401
parent0ac950c253969ea2ae4b730bd181cfe25d472f4b
Add path info to serialization logs

Summary: This information can be hugely useful for tracing down logs without provenance, or without useful provenance (e.g. "this array came from the database backend").

Reviewed By: colavitam

Differential Revision: D26283753

fbshipit-source-id: 40dc15ed63b1a1640f33edc108b7e7cc2a81046c
hphp/runtime/base/runtime-error.cpp
hphp/runtime/base/runtime-error.h
hphp/runtime/base/variable-serializer.cpp
hphp/runtime/base/variable-serializer.h
hphp/test/slow/array_provenance/exception-serialization.php.expectf