Log an error when command line is disposed.

Just in case this happens again...