Log errors when they occur.

Otherwise, we have little chance of fixing them.