From f37c17be85d15b9dd92d576af9fce1e629e05312 Mon Sep 17 00:00:00 2001 From: lue-bird Date: Fri, 29 Mar 2024 14:56:14 +0100 Subject: [PATCH] use consistent message to notify of bug --- src/Web.elm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/Web.elm b/src/Web.elm index 3401bc8..3865a6c 100644 --- a/src/Web.elm +++ b/src/Web.elm @@ -3456,8 +3456,11 @@ programUpdate appConfig = InterfaceDiffFailedToDecode jsonError -> \state -> ( state - , ("lue-bird/elm-state-interface bug: interface diff failed to decode: " - ++ (jsonError |> Json.Decode.errorToString) + , ([ "bug: interface diff failed to decode: " + , jsonError |> Json.Decode.errorToString + , ". Please open an issue on github.com/lue-bird/elm-state-interface" + ] + |> String.concat ) |> ConsoleError |> Add @@ -3470,8 +3473,11 @@ programUpdate appConfig = InterfaceEventDataFailedToDecode jsonError -> \state -> ( state - , ("bug in lue-bird/elm-state-interface: interface event data failed to decode: " - ++ (jsonError |> Json.Decode.errorToString) + , ([ "bug: interface event data failed to decode: " + , jsonError |> Json.Decode.errorToString + , ". Please open an issue on github.com/lue-bird/elm-state-interface" + ] + |> String.concat ) |> ConsoleError |> Add