Page MenuHomePhabricator

[Wilds] Slightly simplify fatal handling during "arc" setup
ClosedPublic

Authored by epriestley on Sep 18 2018, 8:10 PM.
Tags
None
Referenced Files
F14474984: D19693.id.diff
Fri, Dec 27, 5:23 PM
Unknown Object (File)
Thu, Dec 19, 6:36 PM
Unknown Object (File)
Wed, Dec 11, 5:58 PM
Unknown Object (File)
Fri, Dec 6, 6:55 AM
Unknown Object (File)
Tue, Dec 3, 1:36 AM
Unknown Object (File)
Mon, Dec 2, 10:48 AM
Unknown Object (File)
Nov 24 2024, 7:18 PM
Unknown Object (File)
Oct 17 2024, 11:38 PM
Subscribers
None

Details

Summary

Ref T13098. We currently handle fatals by printing a message and returning an error code, since this was the most direct adaptation from the old arcanist.php script.

Instead, throw an exception and then handle it above, since we can reasonably do that in one place now.

Test Plan

Ran arc.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Sep 18 2018, 8:10 PM
Harbormaster failed remote builds in B20859: Diff 47047!
This revision is now accepted and ready to land.Sep 20 2018, 12:01 AM
This revision was automatically updated to reflect the committed changes.