Steven M. answered 05/16/18
Tutor
5
(5,794)
17,500+ Wyzant Hours Taught | Berkeley Grad | Classroom Experience!
You could isolate the line of code that potentially causes trouble... So for example, TRY to do something, EXCEPT if it fails, ELSE if it doesn't fail display the results to the user. Since a display typically wouldn't fail, it doesn't need to be in the try, and if the try fails then there's no results to display. Honestly I just put everything from the ELSE at the bottom of the TRY.