hoteltonight/hubot-pagerduty — pull request #2 by erikh (2013-03-25 11:10:46+00:00)
Title: do not try to update or process incidents when there are none to update

this patch resolves an issue where using the new "resolve/acknowledge all" commands would crash the bot if someone had resolved them out of band, e.g., through the phone, or if there was nothing to update.

it no longer crashes, and additionally does not attempt to update anything to begin with, and spits out a helpful response telling the user there is nothing to update.