Its already been stated that its used as an anesthetic before the frogs are euthanized, but the side effect may be gastric prolapse therefore it wouldnt be the best option
The best option, as mentioned, would be MS-222, and if the frog falls too deeply into sleep during the procedure it can be partially revived by being rinsed in well oxygenated water.