From a3ff73903aceb9d4e9a96fe5d3f8f408faadbb83 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 27 Dec 2024 05:44:03 +0100 Subject: [PATCH] Fix bad error message. --- app/Jobs/DownloadExchangeRates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/DownloadExchangeRates.php b/app/Jobs/DownloadExchangeRates.php index 17bf251f1d..5ba8d7f998 100644 --- a/app/Jobs/DownloadExchangeRates.php +++ b/app/Jobs/DownloadExchangeRates.php @@ -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; }