Commit f53dc84
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.1 parent a01f420 commit f53dc84
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments