Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Log domain not the whole struct

Uku Taht1f35fbe239ba
diff --git a/lib/workers/provision_ssl_certificates.ex b/lib/workers/provision_ssl_certificates.ex
index 3266dc3171..00d1e968b8 100644
--- a/lib/workers/provision_ssl_certificates.ex
+++ b/lib/workers/provision_ssl_certificates.ex
@@ -36,7 +36,7 @@ defmodule Plausible.Workers.ProvisionSslCertificates do
end
defp report_result({error_msg, error_code}, domain) do
- Logger.error("Error obtaining SSL certificate for #{domain}: #{error_msg}")
+ Logger.error("Error obtaining SSL certificate for #{domain.domain}: #{error_msg}")
Sentry.capture_message("Error obtaining SSL certificate",
extra: %{error_msg: error_msg, error_code: error_code, domain: domain.domain}