]> khamidou — GitHub mirrors - arcanist.git/commit
Improve 'arc' error message when failing to load a library
authorjungejason <jungejason@fb.com>
Mon, 4 Apr 2011 23:26:46 +0000 (16:26 -0700)
committerjungejason <jungejason@fb.com>
Mon, 4 Apr 2011 23:44:09 +0000 (16:44 -0700)
commit1dd69bdbee5c995594101bccc8aaaaa6c61e67fd
treef1bca2ff4994caaf5189158424bcbfc323e1d990
parent76c45a74f3bca05591d219812db5de1e1e2a1102
Improve 'arc' error message when failing to load a library

Summary:
display better message about the .arcconfig. The message will
be something like this now:
  Usage Exception: Failed to load library "phabricator" at location
  "srcaaaaa/". Please check the "phutil_libraries" setting in your
  .arcconfig file. Refer to page
  http://phabricator.com/docs/arcanist/article/Setting_Up_.arcconfig.html
  for more info.

Test Plan:
modify the .arcconfig file to test it. Also make sure it
works for correct settings.

Reviewed By: epriestley
Reviewers: epriestley
CC: jungejason, epriestley
Differential Revision: 99
scripts/arcanist.php