Fixes T5883. The first time we hit an error we'll continue forward; we only bail after the second time. Instead, check for an error immediately
Details
Details
- Reviewers
btrahan cburroughs - Maniphest Tasks
- T5883: PhabricatorBotMacroHandler handling of image lookup failures lacks grace
- Commits
- Restricted Diffusion Commit
rP40a4eeec77a9: Make bot macro handler more graceful in the face of failure
HA HA HA DID NOT TEST HA HA HA HA
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Not sure what the convention is for logging in daemons, but should this get a log message instead of silent bail?
Comment Actions
We could refine this behavior, but the bot stuff is a wasteland of low-quality code right now. This is an actual bug, but refining the error handling behavior is more of a commitment than I want to make at the moment.
Comment Actions
For giggles I applied the patch instead of following the test plan and we didn't die on a for loop.