From 2a64dcaa625b593956ab0e18deeb7e9b3beaf4e2 Mon Sep 17 00:00:00 2001 From: hashmap Date: Sun, 17 Mar 2019 13:48:09 +0100 Subject: [PATCH] Show response code in API client error message It's hard to investigate what happens when an API client error is printed out --- api/src/client.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/src/client.rs b/api/src/client.rs index dd279c2f6a..5f80904538 100644 --- a/api/src/client.rs +++ b/api/src/client.rs @@ -203,9 +203,10 @@ fn send_request_async(req: Request) -> Box