The chancellor says she had been dealing with a "personal issue" but was still "cracking on with the job".