Skip to content

Commit bd8d647

Browse files
vitormattosYvesCesar
authored andcommitted
chore: Update lib/Handler/CertificateEngine/CfsslHandler.php
Co-authored-by: Yves César Amorim de Azevedo <48072419+YvesCesar@users.noreply.github.com> Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 1c5d7d0 commit bd8d647

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Handler/CertificateEngine/CfsslHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ private function isUp(): bool {
294294
} catch (ConnectException) {
295295
// Port not yet accepting connections — server still starting
296296
return false;
297-
} catch (RequestException $th) {
298-
if ($th->getCode() === 404) {
297+
} catch (RequestException $exception) {
298+
if ($exception->getCode() === 404) {
299299
throw new \Exception('Endpoint /health of CFSSL server not found. Maybe you are using incompatible version of CFSSL server. Use latests version.', 1);
300300
}
301301
return false;

0 commit comments

Comments
 (0)