Skip to content

Commit 5a9e590

Browse files
typo: excepted -> expected
1 parent 225af92 commit 5a9e590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Ephemeral/EphemeralHypernodeManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ public function waitForAvailability(string $ephemeralHypernode, int $timeout = 9
7979
if ($e->getCode() !== 404) {
8080
throw $e;
8181
} elseif ($timeElapsed < $allowedErrorWindow) {
82-
// Some times we get an error where the logbook is not yet available, but it will be soon.
82+
// Sometimes we get an error where the logbook is not yet available, but it will be soon.
8383
// We allow a small window for this to happen, and then we throw an exception.
8484
sprintf(
85-
'Got an excepted exception during the allowed error window of HTTP code %d, waiting for %s to become available',
85+
'Got an expected exception during the allowed error window of HTTP code %d, waiting for %s to become available',
8686
$e->getCode(),
8787
$ephemeralHypernode
8888
);

0 commit comments

Comments
 (0)