JAL-2079 pass server name when reporting FTS ‘warning/error’ messages
authorJim Procter <jprocter@issues.jalview.org>
Sun, 2 Oct 2016 11:05:44 +0000 (12:05 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Sun, 2 Oct 2016 11:05:44 +0000 (12:05 +0100)
src/jalview/fts/core/FTSRestClient.java

index 00a081b..230cbdb 100644 (file)
@@ -451,7 +451,8 @@ public abstract class FTSRestClient implements FTSRestClientI
     case 502:
     case 504:
     case 505:
-      message = MessageManager.getString("exception.fts_server_error");
+      message = MessageManager.formatMessage("exception.fts_server_error",
+              service);
       break;
     case 503:
       message = MessageManager.getString("exception.service_not_available");