Page MenuHomePhabricator

D10265.diff
No OneTemporary

D10265.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
Sat, May 25, 3:50 AM (4 w, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6303627
Default Alt Text
D10265.diff (653 B)

Event Timeline