fixes missing logs for null messaged exceptions