Page MenuHomePhabricator

Make bot macro handler more graceful in the face of failure
ClosedPublic

Authored by epriestley on Aug 14 2014, 3:37 PM.
Tags
None
Referenced Files
F13316953: D10265.diff
Thu, Jun 13, 8:51 AM
F13307640: D10265.id.diff
Sun, Jun 9, 8:31 PM
F13306115: D10265.diff
Sun, Jun 9, 7:27 AM
F13292866: D10265.diff
Wed, Jun 5, 5:26 AM
F13279072: D10265.diff
Sat, Jun 1, 10:42 AM
F13271588: D10265.id24719.diff
Thu, May 30, 2:41 AM
F13265055: D10265.diff
Tue, May 28, 1:18 AM
F13248671: D10265.diff
Fri, May 24, 3:50 AM
Subscribers

Details

Summary

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

Test Plan

HA HA HA DID NOT TEST HA HA HA HA

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Make bot macro handler more graceful in the face of failure.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, cburroughs.

Not sure what the convention is for logging in daemons, but should this get a log message instead of silent bail?

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.

cburroughs edited edge metadata.

For giggles I applied the patch instead of following the test plan and we didn't die on a for loop.

This revision is now accepted and ready to land.Aug 14 2014, 4:02 PM
epriestley updated this revision to Diff 24719.

Closed by commit rP40a4eeec77a9 (authored by @epriestley).