Saving state: Check if decl file exists before attempting to read
commitf9f4ce1c3637051e60db5c4a886456b4fddcadf1
authorTatiana Racheva <tatianaracheva@fb.com>
Mon, 3 Dec 2018 22:17:45 +0000 (3 14:17 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 3 Dec 2018 22:28:47 +0000 (3 14:28 -0800)
treeef1b9c471e2526bd3a066e3dcad05d5d2c9046a2
parentf5f881ddb13d6b4924df3d19f2c26ea61f9abc0a
Saving state: Check if decl file exists before attempting to read

Summary: When saving state in, e.g., simple_repo during testing, the log shows an exception stack from the benign condition of not being able to find the hot classes JSON file. We should just log that we didn't find the file and move on.

Reviewed By: dabek

Differential Revision: D13282680

fbshipit-source-id: 9a8cd439b63756c7579ef23f32a54db1944774b3
hphp/hack/src/server/saveStateService.ml