As long as you didn't have it exposed for very long to let anything in and you sanitized your sampling equipment you should be good. As a rule of thumb, though, I try and sample no more than once a week, especially if it's not bubbling rapidly enough to quickly push oxygen out of your fermenter...