added exception message on fail