Added console warning on form submission error