Show error message instead of hardcoding error.

This commit is contained in:
Dillon Kearns 2019-08-24 19:22:33 -07:00
parent ffcb3cb21e
commit 23c1fdd7f9

View File

@ -73,7 +73,7 @@ init document content =
)
)
|> combineTupleResults
|> Result.mapError (\_ -> Html.text "Error")
|> Result.mapError (\error -> Html.text error)
|> Result.map Dict.fromList