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
F14798017: D20779.id49550.diff
Sat, Jan 25, 5:39 AM
F14798016: D20779.id49546.diff
Sat, Jan 25, 5:38 AM
F14798015: D20779.id49545.diff
Sat, Jan 25, 5:38 AM
F14798014: D20779.id.diff
Sat, Jan 25, 5:38 AM
Unknown Object (File)
Thu, Jan 23, 7:01 AM
Unknown Object (File)
Tue, Jan 21, 10:37 AM
Unknown Object (File)
Sat, Jan 18, 2:40 AM
Unknown Object (File)
Thu, Jan 16, 11:08 AM
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