Page MenuHomePhabricator

D19084.id45744.diff
No OneTemporary

D19084.id45744.diff

diff --git a/src/applications/herald/worker/HeraldWebhookWorker.php b/src/applications/herald/worker/HeraldWebhookWorker.php
--- a/src/applications/herald/worker/HeraldWebhookWorker.php
+++ b/src/applications/herald/worker/HeraldWebhookWorker.php
@@ -32,6 +32,13 @@
$status));
}
+ // If we're in silent mode, permanently fail the webhook request and then
+ // return to complete this task.
+ if (PhabricatorEnv::getEnvConfig('phabricator.silent')) {
+ $this->failRequest($request, 'hook', 'silent');
+ return;
+ }
+
$hook = $request->getWebhook();
if ($hook->isDisabled()) {

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 16, 10:59 PM (1 d, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7318459
Default Alt Text
D19084.id45744.diff (628 B)

Event Timeline