Homec4science

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

Authored by epriestley <git@epriestley.com> on Jan 20 2015, 23:14.

Description

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

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D11449

Details

Committed
epriestley <git@epriestley.com>Jan 20 2015, 23:14
Pushed
aubortJan 31 2017, 17:16
Parents
rPH20dbdd7c28d6: Fix validation of network names in Almanac
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHe90695fc8332: When storage is not initialized, write the error message to stderr instead of… (authored by epriestley <git@epriestley.com>).Jan 20 2015, 23:14