Show the JSON error when something goes wrong
commit20b161298262d5777890f2b0d8b8ddb247daf642
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateFri 6 Apr 2018, 16:26 (9 years ago)
parent16d6dc0
ui/browser/src/Index.elm+2−2
@@ -91,10 +91,10 @@ type alias Model =
9191view : Model -> Browser.View msg
9292view model =
9393 case model of
94− Err _ ->
94+ Err error ->
9595 { title = "???"
9696 , body =
97− [ text "Something went wrong!"
97+ [ text (D.errorToString error)
9898 ]
9999 }
100100