A CEO with an active social media presence can be a boost for businesses—it’s free marketing and puts a face to the company’s name.

But sometimes a Twitter happy CEO overshares, leaving in-house counsel to control the damage. That became a concern at Palo Alto-based Tesla Inc. on Tuesday following a tweet from CEO Elon Musk.