Status: New
Owner: ----

New issue 688 by [email protected]: Swallowing exceptions prevents effective debugging of the GuiceFilter
http://code.google.com/p/google-guice/issues/detail?id=688

In GuiceFilter you just try/finally possible exceptions in at least two locations in the code, see

http://code.google.com/p/google-guice/source/browse/extensions/servlet/src/com/google/inject/servlet/GuiceFilter.java#124

http://code.google.com/p/google-guice/source/browse/extensions/servlet/src/com/google/inject/servlet/GuiceFilter.java#199


Please at least log and rethrow the exceptions in a catch using

  catch(Throwable e) {
    logger.warn("...", e);
    throw e;
  }

so that one might know why the filter failed.

TIA


--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to