Skip to content

Uncaught exception in Phirehose failure #28

@magsol

Description

@magsol

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions