magsol/Twitterbot — Issue #28: Uncaught exception in Phirehose failure
Author: magsol
Created: 2011-11-30 16:46:12+00:00
State: open

Need better error-handling in the main loop to account for this exception and perform a clean shutdown:

```
PHP Fatal error: Uncaught exception 'PhirehoseConnectLimitExceeded' with message 'TCP failure limit exceeded with 21 failures. Last error: Connection timed out' in Phirehose.php:575
Stack trace:
#0 Phirehose.php(752): Phirehose->connect()
#1 Phirehose.php(379): Phirehose->reconnect()
#2 twitterbot.php(82): Phirehose->consume()
#3 run.php(55): Twitterbot->loop()
#4 {main}
thrown in Phirehose.php on line 575
```