Provide a more helpful TimeoutException message
- One cannot tell what endpoint is at fault in a non-trivial configuration, for example, using an AsyncMiddleManServlet, is it the origin or the client? - The TimeoutException message now contains the endpoint causing the timeout
This commit is contained in:
parent
1ee0ad6593
commit
51969fd196
|
@ -164,7 +164,7 @@ public abstract class IdleTimeout
|
|||
{
|
||||
if (idleLeft <= 0)
|
||||
{
|
||||
TimeoutException timeout = new TimeoutException("Idle timeout expired: " + idleElapsed + "/" + idleTimeout + " ms");
|
||||
TimeoutException timeout = new TimeoutException("Idle timeout expired: " + idleElapsed + "/" + idleTimeout + " ms in " + this);
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("{} idle timeout expired", this, timeout);
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue