Changed onError debug slightly for formhandler