Don’t crash if logging to console fails.