From f624443a96f27d5d448f3f5ee2bbb8d16f6371e0 Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Fri, 7 Apr 2023 07:47:45 +0200 Subject: [PATCH] Rephrase error message --- lib/plausible/goals.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plausible/goals.ex b/lib/plausible/goals.ex index 3732328df..9c25c2710 100644 --- a/lib/plausible/goals.ex +++ b/lib/plausible/goals.ex @@ -8,11 +8,11 @@ defmodule Plausible.Goals do Goal.changeset(%Goal{}, params) |> Ecto.Changeset.add_error( :event_name, - "Goals creation is temporarily disabled due to a planned database migration. Please try again in an hour." + "Sorry! Due to the ongoing maintenance, adding new goals is currently paused. Please try again in one hour. Thanks for your patience!" ) |> Ecto.Changeset.add_error( :page_path, - "Goals creation is temporarily disabled due to a planned database migration. Please try again in an hour." + "Sorry! Due to the ongoing maintenance, adding new goals is currently paused. Please try again in one hour. Thanks for your patience!" ) |> Repo.insert() end