issue 6275: the $x command doesn't raise errors when it should