forked from GNUsocial/gnu-social
5f5d9518bd
The code pattern 'new XXXException($e)' to chain exceptions doesn't actually work as intended, as exceptions are actually expecting a string message here. This caused an implicit string conversion from HTTP_Request2_Exception, which is a PEAR_Exception, which defines an absurdly detailed __toString() method including a giant HTML table with a backtrace if you happen to be on a web request. Simply passing $e->getMessage() instead clears this up, as we'll get the nice short message like 'Couldn't connect to tcp://blahblah:80' |
||
---|---|---|
.. | ||
discovery.php | ||
discoveryhints.php | ||
feeddiscovery.php | ||
hubconfqueuehandler.php | ||
huboutqueuehandler.php | ||
linkheader.php | ||
magicenvelope.php | ||
ostatusqueuehandler.php | ||
pushinqueuehandler.php | ||
salmon.php | ||
salmonaction.php | ||
salmonqueuehandler.php | ||
xrd.php | ||
xrdaction.php |