HPCC-10039 Prevent error messages from being truncated

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4843 from ghalliday/issue10039

HPCC-10039 Prevent error messages from being truncated

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>