fixed catching guzzle errors