fix to output an error messeage if application.save fails during POST