Merge pull request #1167 from prometheus/fix-error-message

Fix error message
This commit is contained in:
Conor Broderick 2018-01-03 11:10:39 +00:00 committed by GitHub
commit a1153e83ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

File diff suppressed because one or more lines are too long