Page MenuHomePhabricator

Give "bin/config" a friendlier error message if "local.json" is not writable
ClosedPublic

Authored by epriestley on Sep 3 2019, 7:19 PM.

Details

Summary

Ref T13403. We currently emit a useful error message, but it's not tailored and has a stack trace. Since this is a relatively routine error and on the first-time-setup path, tailor it so it's a bit nicer.

Test Plan
  • Ran bin/config set ... with an unwritable "local.json".
  • Ran bin/config set ... normally.

Diff Detail

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.