Skip to content

Commit

Permalink
SDSS-1294: Fix logger syntax in installtask (#443)
Browse files Browse the repository at this point in the history
* SDSS-1294: Fix logger syntax in installtask.
  • Loading branch information
joegl authored May 16, 2024
1 parent 459f654 commit dcb0922
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ protected function getSnowData($site_name) {
return reset($response['result'][0]);
}
catch (GuzzleException $e) {
$this->logger->alert($this->t('Unable to fetch SNOW data for %site. Message: %message'), [
$this->logger->alert('Unable to fetch SNOW data for %site. Message: %message', [
'%site' => $site_name,
'%message' => $e->getMessage(),
]);
}
catch (\Exception $e) {
$this->logger->alert($this->t('Unable to fetch SNOW data for %site. Message: %message'), [
$this->logger->alert('Unable to fetch SNOW data for %site. Message: %message', [
'%site' => $site_name,
'%message' => $e->getMessage(),
]);
Expand Down

0 comments on commit dcb0922

Please sign in to comment.