Page MenuHomePhabricator

Make `./bin/diviner generate` more fault tolerant
ClosedPublic

Authored by joshuaspence on Nov 7 2014, 12:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 1, 10:33 PM
Unknown Object (File)
Mon, Apr 22, 6:51 AM
Unknown Object (File)
Wed, Apr 17, 12:23 PM
Unknown Object (File)
Wed, Apr 10, 8:38 AM
Unknown Object (File)
Apr 2 2024, 6:02 PM
Unknown Object (File)
Mar 23 2024, 7:23 PM
Unknown Object (File)
Mar 4 2024, 8:14 PM
Unknown Object (File)
Feb 8 2024, 4:48 PM
Subscribers

Details

Summary

Allow ./bin/diviner generate to continue even if there is an exception throw processing an atom. This allows Diviner documentation to be generated for PHP source code that cannot be parsed with XHPAST.

Test Plan

Ran ./bin/diviner generate on a PHP repository which previously throw an XHPASTSyntaxErrorException.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Make `./bin/diviner generate` more fault tolerant.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added reviewers: epriestley, btrahan.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Nov 7 2014, 10:58 PM
This revision was automatically updated to reflect the committed changes.