Fix style warning for exception catch

Refs #8513
Merge branch 'bugfix/8513_fix_script_window_save_exception' into develop