mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 21:10:56 +01:00
Use PhutilProxyException to disambiguate work queue failures
Summary: Fixes T2569. This is the other common exception source which is ambiguous. List the task ID explicitly to make debugging easier. Test Plan: {F51268} Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2569 Differential Revision: https://secure.phabricator.com/D6549
This commit is contained in:
parent
938b5c69c6
commit
45db6001ea
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ final class PhabricatorTaskmasterDaemon extends PhabricatorDaemon {
|
|||
$this->log("Task {$id} failed permanently.");
|
||||
} else {
|
||||
$this->log("Task {$id} failed!");
|
||||
throw $ex;
|
||||
throw new PhutilProxyException(
|
||||
"Error while executing task ID {$id} from queue.",
|
||||
$ex);
|
||||
}
|
||||
} else {
|
||||
$this->log("Task {$id} complete! Moved to archive.");
|
||||
|
|
Loading…
Reference in a new issue