Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
Fix errorToString reference in UnisonShare
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Apr 5, 2022
1 parent ecc419f commit 957c66f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UnisonShare/App.elm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import Html exposing (Html, a, div, h1, h2, nav, p, span, text)
import Html.Attributes exposing (class, classList, id, title)
import Html.Events exposing (onClick)
import Http
import Lib.Util as Util
import RemoteData exposing (RemoteData(..))
import UI
import UI.AppHeader as AppHeader
Expand Down Expand Up @@ -678,7 +679,7 @@ viewAppError error =
PageLayout.PageContent
[ div [ class "app-error" ]
[ Icon.view Icon.warn
, p [ title (Api.errorToString error) ]
, p [ title (Util.httpErrorToString error) ]
[ text "Unison Share could not be started." ]
]
]
Expand Down

0 comments on commit 957c66f

Please sign in to comment.