Fixed bug displaying success message on failure.
Display meaningful message on failure & exit with error