Catch errors in form.parse