src/RunOpenCode/ExchangeRate/LoggableManager.php
public function today($sourceName, $currencyCode, $rateType = RateType::MEDIAN)
    {
        try {
            return $this->manager->today($sourceName, $currencyCode, $rateType);
        } catch (\Exception $e) {
            $this->logger->error('Unable to fetch today\'s rate for {currency_code} of type {rate_type} from source {source}.', [
                'currency_code' => $currencyCode,
                'rate_type' => $rateType,
                'source' => $sourceName,
                'exception' => $e,
            ]);
            throw $e;
        }
    }
public function today($sourceName, $currencyCode, $rateType = RateType::MEDIAN)
    {
        try {
            return $this->manager->today($sourceName, $currencyCode, $rateType);
        } catch (\Exception $e) {
            $this->logger->error('Unable to fetch today\'s rate for {currency_code} of type {rate_type} from source {source}.', [
                'currency_code' => $currencyCode,
                'rate_type' => $rateType,
                'source' => $sourceName,
                'exception' => $e,
            ]);
            throw $e;
        }
    }
{@inheritdoc}