From e7aeeb8bd5afae500bfa49b41ae8728bfbd20c3e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 18 Apr 2020 18:03:29 -0700 Subject: [PATCH] Fix one more place where the HTTP error code was lost --- app/src/main/java/com/limelight/nvstream/http/NvHTTP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/limelight/nvstream/http/NvHTTP.java b/app/src/main/java/com/limelight/nvstream/http/NvHTTP.java index da437bf7..36b780d6 100644 --- a/app/src/main/java/com/limelight/nvstream/http/NvHTTP.java +++ b/app/src/main/java/com/limelight/nvstream/http/NvHTTP.java @@ -331,7 +331,7 @@ public class NvHTTP { throw new FileNotFoundException(url); } else { - throw new IOException("HTTP request failed: "+response.code()); + throw new GfeHttpResponseException(response.code(), response.message()); } }