Skip to content

Commit 19f5c44

Browse files
committed
check errors a second time
1 parent 7b94af3 commit 19f5c44

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Services/FileMakerConnection.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,11 @@ protected function makeRequest($method, $url, $params = [], ?PendingRequest $req
720720
// try the request again with refreshed credentials
721721
$request = $this->prepareRequestForSending($request);
722722
$response = $request->{$method}($url, $params);
723+
724+
// check for errors a second time, but this time we won't catch the error if there's still an auth
725+
// problem
726+
$this->checkResponseForErrors($response);
727+
723728
} else {
724729
throw $e;
725730
}

0 commit comments

Comments
 (0)