diff --git a/molecule/utilities.py b/molecule/utilities.py
index <HASH>..<HASH> 100644
--- a/molecule/utilities.py
+++ b/molecule/utilities.py
@@ -40,7 +40,8 @@ class LogFilter(object):
 
 class TrailingNewlineFormatter(logging.Formatter):
     def format(self, record):
-        record.msg = record.msg.rstrip()
+        if record.msg:
+            record.msg = record.msg.rstrip()
         return super(TrailingNewlineFormatter, self).format(record)
defend against "AttributeError: NoneType object has no attribute rstrip"