From daed3ce0ea87f0e3f9fec0bb9d3ab2cf4cdfffe2 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 29 Sep 2017 07:58:32 +0100 Subject: [PATCH] JAL-2745 stderr rather than stdout for unexpected HTTP response --- src/jalview/ws/ebi/EBIFetchClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/ws/ebi/EBIFetchClient.java b/src/jalview/ws/ebi/EBIFetchClient.java index 50151d9..07a9df4 100644 --- a/src/jalview/ws/ebi/EBIFetchClient.java +++ b/src/jalview/ws/ebi/EBIFetchClient.java @@ -210,7 +210,7 @@ public class EBIFetchClient int responseCode = conn.getResponseCode(); if (responseCode != 200) { - System.out.println("Warning: response code " + responseCode + System.err.println("Warning: response code " + responseCode + " for " + url); } InputStream is = new BufferedInputStream(conn.getInputStream()); -- 1.7.10.2