mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
In debug mode, log all phabricator bot data to the log
Summary: Dump everything to the debug log for `phd debug phabricatorbot ...` Test Plan: Ran `phd debug phabricatorbot ...` Reviewers: chad, AnhNhan Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D5239
This commit is contained in:
parent
7d771b4ff7
commit
bd6bb8a3ea
1 changed files with 4 additions and 0 deletions
|
@ -114,6 +114,10 @@ final class PhabricatorBot extends PhabricatorDaemon {
|
|||
}
|
||||
}
|
||||
|
||||
if ($message->getCommand() == 'LOG') {
|
||||
$this->log("[LOG] ".$message->getBody());
|
||||
}
|
||||
|
||||
foreach ($this->handlers as $handler) {
|
||||
try {
|
||||
$handler->receiveMessage($message);
|
||||
|
|
Loading…
Reference in a new issue