JAL-2461 Removed DAS error stack trace, updated message
authorkiramt <k.mourao@dundee.ac.uk>
Wed, 22 Mar 2017 14:21:34 +0000 (14:21 +0000)
committerkiramt <k.mourao@dundee.ac.uk>
Wed, 22 Mar 2017 14:21:34 +0000 (14:21 +0000)
src/jalview/ws/dbsources/das/datamodel/DasSourceRegistry.java

index b184ff2..e0f7f70 100644 (file)
@@ -69,6 +69,7 @@ public class DasSourceRegistry implements DasSourceRegistryI,
     return loadingDasSources;
   }
 
+  @Override
   public String getDasRegistryURL()
   {
     String registry = jalview.bin.Cache.getDefault("DAS_REGISTRY_URL",
@@ -150,9 +151,8 @@ public class DasSourceRegistry implements DasSourceRegistryI,
       return dsrc;
     } catch (Exception ex)
     {
-      System.err.println("Failed to contact DAS1 registry at "
-              + registryURL);
-      ex.printStackTrace();
+      System.out.println("DAS1 registry at " + registryURL
+              + " no longer exists");
       return new ArrayList<jalviewSourceI>();
     }
   }