added the error debug output on failure