wrap GA in try catch