I can't speak for the first one, but the second one would give console errors every time it came accross a dead/nonexistant player.
Too bad, let the console give an error. It is a quick console code, not a polished function.
If you wanted to start testing for all the exceptions, then you probably would get to the point where you simply couldn't jam it into the console.