JAL-2745 stderr rather than stdout for unexpected HTTP response
authorJim Procter <jprocter@issues.jalview.org>
Fri, 29 Sep 2017 06:58:32 +0000 (07:58 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 29 Sep 2017 06:58:32 +0000 (07:58 +0100)
src/jalview/ws/ebi/EBIFetchClient.java

index 50151d9..07a9df4 100644 (file)
@@ -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());