Commit 7bf0884
chore: minor update to manifest sanity check error message (apache#1278)
## What changes are included in this PR?
This is the error message I get on my end:
```sh
Error: DataInvalid => Content type of entry PositionDeletes should have DataContentType::Data
```
At first sight, I have no idea what this means, until I read the sanity
check code.
In this PR, I updated the error message for manifest write sanity check
to provide more context:
- What's the manifest content file
- What's the filepath, this is useful for devs to directly understand
what's the data file having issues
- What's the expected and actual data content type
## Are these changes tested?
No-op change
Co-authored-by: Scott Donnelly <scott@donnel.ly>1 parent a845327 commit 7bf0884
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
186 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
0 commit comments