Skip to content

Commit

Permalink
fix for #429: no session after PNR Retrieve failed
Browse files Browse the repository at this point in the history
  • Loading branch information
DerMika committed Feb 18, 2021
1 parent e746900 commit aa02eb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Amadeus/Client/Session/Handler/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ public function sendMessage($messageName, Client\Struct\BaseWsMessage $messageBo
": \n".$ex->getTraceAsString()
);
$this->logRequestAndResponse($messageName);
$this->handlePostMessage($messageName, $this->getLastResponse($messageName), $messageOptions, $result);
$result->exception = $ex;
} catch (\Exception $ex) {
// We should only come here when the XSL extension is not enabled
Expand Down

0 comments on commit aa02eb8

Please sign in to comment.