Throw an error and die if we get an exception formatting the log message
Don't potentially copy the entire log in order to print it