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
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
Unknown Object (File)
Thu, Jan 16, 7:50 AM
Unknown Object (File)
Tue, Dec 31, 7:36 PM
Unknown Object (File)
Tue, Dec 31, 3:55 PM
Unknown Object (File)
Dec 10 2024, 6:23 AM
Unknown Object (File)
Nov 28 2024, 6: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