Skip to content

Commit

Permalink
Add missing endpoint to exception message in ExecuteSql.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronweeden committed Oct 16, 2024
1 parent cef91af commit 73856ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ETL/Maintenance/ExecuteSql.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function execute(EtlOverseerOptions $etlOverseerOptions)
} catch ( PDOException $e ) {
$this->logAndThrowException(
"Error executing SQL",
array('exception' => $e, 'sql' => $sql, 'endpoint' => $this->sourceEndpoint)
array('exception' => $e, 'sql' => $sql, 'endpoint' => $this->destinationEndpoint)
);
}

Expand Down

0 comments on commit 73856ae

Please sign in to comment.