mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 18:48:06 +03:00
Log domain not the whole struct
This commit is contained in:
parent
6d2a0914d1
commit
1f35fbe239
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user