Skip to content

Commit

Permalink
Merge pull request #362 from City-of-Helsinki/UHF-X-fix-error-logging
Browse files Browse the repository at this point in the history
UHF-X: Error message must be a string
  • Loading branch information
hyrsky authored Nov 29, 2023
2 parents 8482a89 + be13b09 commit 0713b18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function getSourceData(string $url): array {
return [];
}

$this->logger->error($this->t('Failed retrieving data from Helbit. Request failed with code: @status_code'), [
$this->logger->error('Failed retrieving data from Helbit. Request failed with code: @status_code', [
'@status_code' => $source_data['status'],
]);

Expand Down

0 comments on commit 0713b18

Please sign in to comment.