From 3566da2434f6c227c462c9902acb30331a12e2e3 Mon Sep 17 00:00:00 2001 From: hashmap Date: Sat, 23 Mar 2019 22:24:45 +0100 Subject: [PATCH] Show response code in API client error message (#2683) 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 6415b31bd4..91d6a412d1 100644 --- a/api/src/client.rs +++ b/api/src/client.rs @@ -202,9 +202,10 @@ fn send_request_async(req: Request) -> Box