diff --git a/ui/app/src/Utils/Api.elm b/ui/app/src/Utils/Api.elm index f6f799ed..4da49e5d 100644 --- a/ui/app/src/Utils/Api.elm +++ b/ui/app/src/Utils/Api.elm @@ -33,7 +33,7 @@ errorToString err = BadStatus resp -> parseError resp.body - |> Maybe.withDefault (resp.status.message ++ " " ++ resp.body) + |> Maybe.withDefault (toString resp.status.code ++ " " ++ resp.status.message) BadPayload err resp -> -- OK status, unexpected payload