I am using gwt-logs currently with GWT and GAE. I have my module configured as explained in Getting Started:
<inherits name="com.allen_sauer.gwt.log.gwt-log-OFF" />
<inherits name="com.allen_sauer.gwt.log.gwt-log-RemoteLogg开发者_如何学Pythoner" />
<extend-property name="log_level" values="DEBUG" />
And I have my entry point class with:
Log.setUncaughtExceptionHandler()
The problem is when I get Uncaught Exception on the client side, all I get in my GAE logs is: "com.allen_sauer.gwt.log.server.ServerLogImplJDK14 log: Uncaught Exception:" I want to include more information on the source of the exception (ex: class name, parameter, error type, exception stack trace). How do I configure to do this?
Thank you so much.
Looking at the source code I see
  public final void setUncaughtExceptionHandler() {
    GWT.setUncaughtExceptionHandler(new GWT.UncaughtExceptionHandler() {
      public void onUncaughtException(Throwable e) {
        Log.fatal("Uncaught Exception:", e);
      }
    });
    setErrorHandler();
  }
So it looks like you would either need to extend the class or set the uncaught exception handler again.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论