show just first 40 chars of error message