File 0003-Rewrite-unclear-warning-fix-typos-96.patch of Package telemetry

From a9b2f4b3d050de195cd57b94afaa392449982f18 Mon Sep 17 00:00:00 2001
From: Jaime Iniesta <github@jaimeiniesta.com>
Date: Wed, 22 Sep 2021 15:58:53 +0200
Subject: [PATCH] Rewrite unclear warning / fix typos (#96)

---
 src/telemetry.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/telemetry.erl b/src/telemetry.erl
index 6b0031a..07ad93f 100644
--- a/src/telemetry.erl
+++ b/src/telemetry.erl
@@ -376,9 +376,9 @@ merge_ctx(Metadata, Ctx) -> Metadata#{telemetry_span_context => Ctx}.
 
 %% @hidden
 report_cb(#{handler_id := Id}) ->
-    {"Function passed as a handler with ID ~w is local function.\n"
-     "This mean that it is either anonymous function or capture of function "
-     "without module specified. That may cause performance penalty when calling "
-     "such handler. For more details see note in `telemetry:attach/4` "
+    {"The function passed as a handler with ID ~w is a local function.\n"
+     "This means that it is either an anonymous function or a capture of a function "
+     "without a module specified. That may cause a performance penalty when calling "
+     "that handler. For more details see the note in `telemetry:attach/4` "
      "documentation.\n\n"
      "https://hexdocs.pm/telemetry/telemetry.html#attach/4", [Id]}.
-- 
2.35.3

openSUSE Build Service is sponsored by