(bug 4062) Some work on returning failure reason