I need a try and except block in UI Flow 2.