DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13279>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13279

Getting ImportTag not to swallow exceptions

           Summary: Getting ImportTag not to swallow exceptions
           Product: Struts
           Version: 1.0 Beta 2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Tiles framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


By default, ImportTag only displays the error message of an exception that was
thrown in a tiles in processException(). No class name, no stack trace. It's gone.

It has to be recompiled with :
  public final static boolean debug = true;
to get to see the stack trace, which is what I need. 

It's not convenient for developing; we need to see these exception. 
This means I always have to recompile tiles before using it. 

I would like ImportTag to either:
 - always log exceptions using commons-logging (my favorite)
 - forward the exception instead of swallowing it
 - have some kind of property(?) to set debug to true without recompiling 
 - do anything, as long as I get to see the stack trace

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to