handle failure better

Signed-off-by: Chris Granger <ibdknox@gmail.com>