Force truncation at max length for exceptionDetails field