Exception info improvement for maxretry handler

Adding helpful exception message for debugging purposes