Is this a White's Tree Frog? I've found a site that mentions milky discharge. Apparently it's a response to stress and can be caused by illness.

Maybe the temperature or water could have contributed to being ill, but sometimes frogs get sick even in perfect conditions. It's hard to tell they're ill at all until they're very sick sometimes. I'm sorry.