} catch (Exception exception) { long requestDuration = System.nanoTime() - lastStartTime; String exceptionTopLevelMsg = limitStringLength(getExceptionKey(exception)); String exceptionRootCauseMsg = limitStringLength(getExceptionKey(getRootCause(exception))); String requestKey = limitStringLength(getRequestKey(request)); handleException(request, exceptionTopLevelMsg, exceptionRootCauseMsg, requestKey, requestDuration); String reason = "n/a";