Why do you want to insert a newline if the message is null?