More informative error messages.
[jalview.git] / src / jalview / bin / Cache.java
index 7f714e5..480bf5d 100755 (executable)
@@ -237,7 +237,7 @@ public class Cache
             out.close();\r
         }\r
         catch (Exception ex)\r
-        {    }\r
+        {   System.out.println("Error setting property: "+key+" "+obj+"\n"+ex);   }\r
         return obj;\r
     }\r
 \r
@@ -250,6 +250,6 @@ public class Cache
             out.close();\r
         }\r
         catch (Exception ex)\r
-        {    }\r
+        {  System.out.println("Error saving properties: "+ex);  }\r
     }\r
 }\r