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
F14089684: D21029.diff
Sun, Nov 24, 12:37 PM
Unknown Object (File)
Tue, Nov 19, 1:23 AM
Unknown Object (File)
Sat, Nov 2, 5:00 AM
Unknown Object (File)
Oct 23 2024, 5:34 AM
Unknown Object (File)
Oct 22 2024, 9:04 AM
Unknown Object (File)
Oct 17 2024, 1:47 PM
Unknown Object (File)
Oct 9 2024, 1:00 PM
Unknown Object (File)
Sep 20 2024, 8:24 PM
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
Branch
load1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23917
Build 32911: Run Core Tests
Build 32910: arc lint + arc unit