Skip to content

Commit

Permalink
Merge pull request #163 from rafaelpatro/fix_soap_and_recoverable
Browse files Browse the repository at this point in the history
Corrige Recoverable Error e Soap Error
  • Loading branch information
pedro-teixeira committed Jun 22, 2016
2 parents 55cc206 + 4d7a1ac commit 6c1b1e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ protected function _getTrackingRequest($code)
*
* @return array
*/
protected function _getTrackingProgressDetails(SimpleXMLElement $evento, $isDelivered=false)
protected function _getTrackingProgressDetails($evento, $isDelivered=false)
{
$date = new Zend_Date($evento->data, 'dd/MM/YYYY', new Zend_Locale('pt_BR'));
$track = array(
Expand Down
1 change: 1 addition & 0 deletions app/code/community/PedroTeixeira/Correios/Model/Sro.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public function request($trackingCode)
$this->_xml = $response->return;
} catch (Exception $e) {
Mage::log("Soap Error: {$e->getMessage()}");
return false;
}
return $this;
}
Expand Down

0 comments on commit 6c1b1e3

Please sign in to comment.