Commit 7243c8d
feat: ✨ add env variable to help debug issues (#223)
# Description
I think we need to go through many types of error messages manually and
see if the way the error is presented via `explain` is helpful. This
debug option helps with that by always printing the properties dict, its
issues, and the output from `explain`. It also enables us to easily do
this on all test messages.
This is now easy to detect by running the test suite with the debug
option enabled, but we still need to make decision about what to do with
these errors by opening a new issue for each one of them and discuss the
best solutions.
Needs an in-depth review.
---------
Co-authored-by: Luke W. Johnston <lwjohnst86@users.noreply.github.com>1 parent 3fc9805 commit 7243c8d
File tree
4 files changed
+30
-0
lines changed- src/check_datapackage
- tests
- tools
4 files changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
184 | 192 | | |
185 | 193 | | |
186 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
0 commit comments