Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2690126
D25148.1734744570.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25148.1734744570.diff
View Options
diff --git a/src/applications/config/controller/PhabricatorConfigConsoleController.php b/src/applications/config/controller/PhabricatorConfigConsoleController.php
--- a/src/applications/config/controller/PhabricatorConfigConsoleController.php
+++ b/src/applications/config/controller/PhabricatorConfigConsoleController.php
@@ -189,8 +189,18 @@
foreach ($specs as $lib) {
$remote_future = $remote_futures[$lib];
- list($err, $stdout) = $remote_future->resolve();
+ list($err, $stdout, $stderr) = $remote_future->resolve();
if ($err) {
+
+ // Very probably this is a "detected dubious ownership"
+ // Better to report it, than just ignoring it.
+ // https://we.phorge.it/T15282
+ phlog(sprintf(
+ 'Cannot identify git remotes. Command: %s Exit: %d Error: %s',
+ $remote_future->getCommand(),
+ $err,
+ $stderr));
+
// If this fails for whatever reason, just move on.
continue;
}
@@ -258,10 +268,20 @@
$results = array();
foreach ($log_futures as $lib => $future) {
- list($err, $stdout) = $future->resolve();
+ list($err, $stdout, $stderr) = $future->resolve();
if (!$err) {
list($hash, $epoch) = explode(' ', $stdout);
} else {
+
+ // Very probably this is a "detected dubious ownership"
+ // Better to report it, than just ignoring it.
+ // https://we.phorge.it/T15282
+ phlog(sprintf(
+ 'Cannot open git log. Command: %s Exit: %d Error: %s',
+ $future->getCommand(),
+ $err,
+ $stderr));
+
$hash = null;
$epoch = null;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 01:29 (17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018749
Default Alt Text
D25148.1734744570.diff (1 KB)
Attached To
Mode
D25148: Config page: add lovely git-related error messages in standard error log
Attached
Detach File
Event Timeline
Log In to Comment