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
F15420246: D20779.id49545.diff
Fri, Mar 21, 12:31 PM
F15334481: D20779.id49546.diff
Sat, Mar 8, 9:36 AM
Unknown Object (File)
Sun, Mar 2, 12:21 AM
Unknown Object (File)
Feb 20 2025, 10:40 AM
Unknown Object (File)
Feb 16 2025, 11:05 PM
Unknown Object (File)
Feb 16 2025, 11:05 PM
Unknown Object (File)
Feb 16 2025, 10:37 PM
Unknown Object (File)
Feb 16 2025, 10:05 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