Fix naive error formatting.