catch guzzle exceptions