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.
Tags
None
Referenced Files
F19032375: D20779.diff
Tue, Nov 25, 6:22 AM
F19026331: D20779.diff
Mon, Nov 24, 10:31 AM
F18996869: D20779.id.diff
Thu, Nov 20, 8:33 AM
F18985187: D20779.id49545.diff
Mon, Nov 17, 12:55 PM
F18855274: D20779.id.diff
Sat, Nov 1, 4:42 AM
F18832467: D20779.id.diff
Oct 25 2025, 9:57 PM
F18832272: D20779.id49545.diff
Oct 25 2025, 9:03 PM
F18831917: D20779.id49550.diff
Oct 25 2025, 4:57 PM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable