Page MenuHomePhabricator

When storage is not initialized, write the error message to stderr instead of stdout
ClosedPublic

Authored by epriestley on Jan 20 2015, 10:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jul 4 2026, 2:25 AM
Unknown Object (File)
Mar 22 2026, 9:17 PM
Unknown Object (File)
Feb 26 2026, 4:46 PM
Unknown Object (File)
Nov 29 2025, 9:30 PM
Unknown Object (File)
Nov 28 2025, 9:07 AM
Unknown Object (File)
Oct 26 2025, 9:26 PM
Unknown Object (File)
Oct 25 2025, 9:11 AM
Unknown Object (File)
Oct 20 2025, 11:00 PM
Subscribers

Details

Summary

We have to do some garbage nonsense to write database backups right now, see T6996.

When storage isn't initialized, we previously ended up with this message gzipped in a file and an empty error. Make the behavior slightly more tolerable.

Test Plan

Saw a meaningful error after trying to back up an uninitialized database.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to When storage is not initialized, write the error message to stderr instead of stdout.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jan 20 2015, 10:04 PM
This revision was automatically updated to reflect the committed changes.