Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13965755
D11449.id27524.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11449.id27524.diff
View Options
diff --git a/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDumpWorkflow.php b/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDumpWorkflow.php
--- a/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDumpWorkflow.php
+++ b/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDumpWorkflow.php
@@ -11,17 +11,19 @@
}
public function execute(PhutilArgumentParser $args) {
+ $console = PhutilConsole::getConsole();
$api = $this->getAPI();
$patches = $this->getPatches();
$applied = $api->getAppliedPatches();
if ($applied === null) {
$namespace = $api->getNamespace();
- echo phutil_console_wrap(
- phutil_console_format(
- "**No Storage**: There is no database storage initialized in this ".
- "storage namespace ('{$namespace}'). Use '**storage upgrade**' to ".
- "initialize storage.\n"));
+ $console->writeErr(
+ pht(
+ '**Storage Not Initialized**: There is no database storage '.
+ 'initialized in this storage namespace ("%s"). Use '.
+ '**storage upgrade** to initialize storage.',
+ $namespace));
return 1;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 17 2024, 4:07 AM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717145
Default Alt Text
D11449.id27524.diff (1 KB)
Attached To
Mode
D11449: When storage is not initialized, write the error message to stderr instead of stdout
Attached
Detach File
Event Timeline
Log In to Comment