Page MenuHomePhabricator

D10265.id24719.diff
No OneTemporary

D10265.id24719.diff

diff --git a/src/infrastructure/daemon/bot/handler/PhabricatorBotMacroHandler.php b/src/infrastructure/daemon/bot/handler/PhabricatorBotMacroHandler.php
--- a/src/infrastructure/daemon/bot/handler/PhabricatorBotMacroHandler.php
+++ b/src/infrastructure/daemon/bot/handler/PhabricatorBotMacroHandler.php
@@ -68,6 +68,11 @@
$ascii = $this->macros[$macro]['ascii'];
}
+ if ($ascii === false) {
+ // If we failed to rasterize the macro, bail out.
+ return;
+ }
+
$target_name = $message->getTarget()->getName();
foreach ($ascii as $line) {
$this->replyTo($message, $line);

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 13, 1:57 AM (6 d, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6712832
Default Alt Text
D10265.id24719.diff (653 B)

Event Timeline