Surprise: poorly-tested error-handling code path.