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
F18734021: D20779.id.diff
Tue, Sep 30, 10:46 PM
F18702390: D20779.id49545.diff
Sat, Sep 27, 11:57 PM
F18627238: D20779.id49546.diff
Tue, Sep 16, 3:32 AM
F18620454: D20779.diff
Mon, Sep 15, 5:17 AM
F18616415: D20779.diff
Sun, Sep 14, 5:27 PM
F18138516: D20779.id49545.diff
Aug 14 2025, 2:34 AM
F18112289: D20779.id49550.diff
Aug 12 2025, 4:19 PM
F18112288: D20779.id49546.diff
Aug 12 2025, 4:18 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