MCPcopy Create free account
hub / github.com/directwebremoting/dwr / debugException

Method debugException

etc/future/scanner/DefaultRemoter.java:572–583  ·  view source on GitHub ↗

Do logging output if there are no logging filters and add a note of explanation the first time @param filters The configured filters @param ex The exception saying what broke

(List<AjaxFilter> filters, Throwable ex)

Source from the content-addressed store, hash-verified

570 * @param ex The exception saying what broke
571 */
572 private void debugException(List<AjaxFilter> filters, Throwable ex)
573 {
574 if (debug && !filtersIncludeLogging(filters))
575 {
576 if (!givenAuditLogHint)
577 {
578 log.debug("No logging filters defined. Minimal execption logging. For more detail add <filter class='org.directwebremoting.filter.AuditLogAjaxFilter'/> to dwr.xml");
579 givenAuditLogHint = true;
580 }
581 log.debug("Method execution failed: ", ex);
582 }
583 }
584
585 /**
586 * A quick check to see if we are already doing some form of logging

Callers 1

executeMethod · 0.95

Calls 2

filtersIncludeLoggingMethod · 0.95
debugMethod · 0.65

Tested by

no test coverage detected