Also don't let TypeErrors during log formatting kill the process.