Well, you know what they say...don't poop where you eat.
I agree that running from job to job because you're attracted to this guy and then that guy would be foolish but that's not what we're talking about here. If that were the case then yes, I'd say that they were in deep trouble and she really does have issues with her spouse. But this is the first time and there's temptation staring her in the face. Why tempt fate?
I guess some people tell their spouses everything and sure, it may have seemed quite healthy for her to do so but look at the mess now. Her husband will probably not get a good nights' sleep for some time to come and I feel awful for him, imagining being in his shoes. Seems to me that if she had kept it to herself and dealt with it herself...but of course, that's water under the bridge.