Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • How to increase max error message length

    moved from SmartClient forum...

    SmartGWT ver 2.4

    Hi,

    When server throws error which is > 1000 bytes
    the error dialog shows truncated message with "set isc.RPCManager.maxErrorMessageLength > 1000 to see more"

    But in RPCManager I do not see corresponding call to increase the error message length.
    Any suggestions?

    Thanks

  • #2
    I see this was never answered and seven years later I am getting this.
    Is there a resolution for this error message?

    Comment


    • #3
      Turns out that I can use native method called in `onModuleLoad()`, e.g.,


      public static native void setMaxErrorLength(int n) /*-{
      $wnd.isc.RPCManager.maxErrorMessageLength = n;
      }-*/;

      Comment

      Working...
      X