Commit 7d105ff
committed
Throw and error, do not just log an error, if provided schema is not readable
I think current behavior violates the principle of the least surprise: I ran
validation while providing custom schema source, it executed with many warnings
and errors reported to the screen. It is only after scrolling far up, I saw
that actually my specification was wrong and operation resorted to built-in schema.
amend: removed comment "version is ignored when the network cannot be accessed"1 parent a01f420 commit 7d105ff
File tree
2 files changed
+7
-4
lines changed- changelog.d
- src/setup
2 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
0 commit comments