HPCC-10039 Prevent error messages from being truncated

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>