summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-22 10:47:01 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-22 10:47:01 +0100
commit5f9384a442531b7133cce4edc07edffb0729c3d7 (patch)
treee8bb40140e2cf84b05a0e5313e2d2b21637c5118 /src/shared
parent0f2bae1ecdf08aec43b129994ac87570ef42e1f3 (diff)
Converts map-editor, JSON broken, dep. updates...
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/elm/Util/Http.elm6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/shared/elm/Util/Http.elm b/src/shared/elm/Util/Http.elm
index a32a7c7..c098dc7 100644
--- a/src/shared/elm/Util/Http.elm
+++ b/src/shared/elm/Util/Http.elm
@@ -11,12 +11,10 @@ error_to_string error =
(Http.BadStatus response) ->
(
"The HTTP request failed: "
- ++ (String.fromInt response.status.code)
- ++ ", "
- ++ response.status.message
+ ++ (String.fromInt response)
++ "."
)
- (Http.BadPayload string _) ->
+ (Http.BadBody string) ->
(
"Server response not understood:\""
++ string