Fixed error handling in Form\SetupForm.