Page MenuHomePhabricator

Improve error handling in ArcanistRuntime when failing to load libraries
ClosedPublic

Authored by epriestley on Feb 25 2020, 9:50 PM.
Tags
None
Referenced Files
F15430519: D21029.diff
Mon, Mar 24, 8:01 AM
F15413832: D21029.diff
Wed, Mar 19, 9:35 PM
Unknown Object (File)
Sat, Mar 1, 8:36 PM
Unknown Object (File)
Sat, Mar 1, 5:24 PM
Unknown Object (File)
Feb 22 2025, 10:33 AM
Unknown Object (File)
Feb 22 2025, 9:01 AM
Unknown Object (File)
Feb 21 2025, 11:06 PM
Unknown Object (File)
Feb 9 2025, 8:46 AM
Subscribers
None

Details

Summary

Ref T13490. This fixes one bug in D21025 (loading relative to "arcanist/" rather than the parent directory) and improves behavior when a library fails to load (we prompt the user to continue).

Test Plan
  • Ran arc list with bad library specifications, got a sensible error and an option to continue.
  • Ran arc list with a library specification that existed next to "arcanist/", got a library load instead of an error.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable