Fix bad error message.

This commit is contained in:
James Cole
2024-12-27 05:44:03 +01:00
parent 7c8445707e
commit a3ff73903a

View File

@@ -102,7 +102,7 @@ class DownloadExchangeRates implements ShouldQueue
try {
$res = $client->get($url);
} catch (ConnectException|RequestException $e) {
app('log')->warning(sprintf('Trying to grab "%s" resulted in error "%d".', $url, $e->getMessage()));
app('log')->warning(sprintf('Trying to grab "%s" resulted in error "%s".', $url, $e->getMessage()));
return;
}