Added more output for error condition