Make sure we generate some output on errors.
Don't truncate twice