Fix truncated error messages