Skip to content

Commit

Permalink
[BUGFIX] Eliminate exception when constructing ConnectionUnavailableE…
Browse files Browse the repository at this point in the history
…xception
  • Loading branch information
tinzog committed Jan 9, 2025
1 parent f740403 commit 7177ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Factory/ConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function createLocalConnection(): Connection
{
$connection = DatabaseUtility::buildLocalDatabaseConnection();
if (null === $connection) {
throw new ConnectionUnavailableException('local', 4798752258);
throw new ConnectionUnavailableException('local');
}
return $connection;
}
Expand All @@ -57,7 +57,7 @@ public function createForeignConnection(): Connection
{
$connection = DatabaseUtility::buildForeignDatabaseConnection();
if (null === $connection) {
throw new ConnectionUnavailableException('foreign', 3805732109);
throw new ConnectionUnavailableException('foreign');
}
return $connection;
}
Expand Down

0 comments on commit 7177ccb

Please sign in to comment.