disable history rather than quitting if an error is encountered when reading the history.

This fixes #7377.