Revision: 3477
Author: [email protected]
Date: Wed Apr 28 15:04:19 2010
Log: Removing the JSON string from the exception message. Often the error message dialog will hang for several minutes because it is trying to display a JSON message that is literally over 1 Mb long.
http://code.google.com/p/power-architect/source/detail?r=3477

Modified:
/trunk/src/main/java/ca/sqlpower/architect/enterprise/NetworkConflictResolver.java

=======================================
--- /trunk/src/main/java/ca/sqlpower/architect/enterprise/NetworkConflictResolver.java Fri Apr 23 14:24:33 2010 +++ /trunk/src/main/java/ca/sqlpower/architect/enterprise/NetworkConflictResolver.java Wed Apr 28 15:04:19 2010
@@ -382,7 +382,7 @@
                 updateListeners.removeAll(listenersToRemove);
             }
         } catch (Exception e) {
- throw new RuntimeException("Failed to decode the message: " + jsonArray, e); + throw new RuntimeException("Failed to decode the message from the server.", e);
         }
     }

Reply via email to