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
F18138516: D20779.id49545.diff
Thu, Aug 14, 2:34 AM
F18112289: D20779.id49550.diff
Tue, Aug 12, 4:19 PM
F18112288: D20779.id49546.diff
Tue, Aug 12, 4:18 PM
F18112287: D20779.id49545.diff
Tue, Aug 12, 4:18 PM
F18112286: D20779.id.diff
Tue, Aug 12, 4:18 PM
F18110008: D20779.diff
Mon, Aug 11, 3:33 PM
F18103780: D20779.id49546.diff
Sun, Aug 10, 7:47 AM
F18100682: D20779.diff
Sat, Aug 9, 12:00 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