From: Jim Procter Date: Fri, 29 Sep 2017 06:58:32 +0000 (+0100) Subject: JAL-2745 stderr rather than stdout for unexpected HTTP response X-Git-Tag: Release_2_10_2b2^2~8 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c854dfdb52d94eafd259846aaa242c79ea0753c7;p=jalview.git JAL-2745 stderr rather than stdout for unexpected HTTP response --- 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());