Skip to content

Commit

Permalink
Update Exchange.php
Browse files Browse the repository at this point in the history
  • Loading branch information
woutse authored Jan 31, 2025
1 parent 4a2f198 commit ab1e3aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Util/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function getPayLoad()
} else {
$rawBody = file_get_contents('php://input');
if (empty(trim($rawBody))) {
throw new Exception('Empty payload', 8002);
throw new Exception('Empty or incomplete payload', 8002);
}

$tguData = json_decode($rawBody, true, 512, 4194304);
Expand Down Expand Up @@ -326,4 +326,4 @@ private function getRequestHeaders()
return $this->headers;
}

}
}

0 comments on commit ab1e3aa

Please sign in to comment.