trim error message to 80 characters per line