Skip to content

Commit

Permalink
use consistent message to notify of bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lue-bird committed Mar 29, 2024
1 parent 4fc8edc commit f37c17b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/Web.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f37c17b

Please sign in to comment.