mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-08 23:50:36 +03:00
Show error message instead of hardcoding error.
This commit is contained in:
parent
ffcb3cb21e
commit
23c1fdd7f9
@ -73,7 +73,7 @@ init document content =
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|> combineTupleResults
|
|> combineTupleResults
|
||||||
|> Result.mapError (\_ -> Html.text "Error")
|
|> Result.mapError (\error -> Html.text error)
|
||||||
|> Result.map Dict.fromList
|
|> Result.map Dict.fromList
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user