-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better json model load exception handling
Summary: Help debug bad characters in json files. Reviewed By: alambert Differential Revision: D70420491 fbshipit-source-id: 50ac64b32ce125ef903f62f93b42ee9d49fa52e0
- Loading branch information
1 parent
fd7d527
commit c13ad37
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
hphp/hack/test/notebook_convert/notebook_to_hack/nb2_invalid_json.ipynb.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Received input that was not in the expected .ipynb format | ||
(https://github.com/jupyter/nbformat/blob/main/nbformat/v4/nbformat.v4.schema.json) | ||
Error: | ||
"Assert_failure fbcode/hphp/hack/src/utils/hh_json/hh_json.ml:643:9"" | ||
"Assert_failure fbcode/hphp/hack/src/utils/hh_json/hh_json.ml:644:9"" |