Commit 2857e3f
authored
Improve failure reporting (#104)
In certain cases, the exception message reported by Gradle was
insufficient or incorrect.
This PR improves a couple of things:
1. Propagate failure received in `FinishEvent`, rather than reporting
incorrectly (#103)
2. Use a contextual exception for missing input parameters, to ensure
that the underlying cause is correctly reported.File tree
2 files changed
+12
-13
lines changed- plugin-test/src/test/groovy/org/gradle/github/dependencygraph
- plugin/src/main/kotlin/org/gradle/dependencygraph/extractor
2 files changed
+12
-13
lines changedplugin-test/src/test/groovy/org/gradle/github/dependencygraph/DependencyExtractorConfigTest.groovy
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
104 | | - | |
| 104 | + | |
| 105 | + | |
105 | 106 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
| 112 | + | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| |||
311 | 314 | | |
312 | 315 | | |
313 | 316 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
| 317 | + | |
319 | 318 | | |
320 | 319 | | |
321 | 320 | | |
322 | 321 | | |
323 | 322 | | |
324 | 323 | | |
325 | | - | |
| 324 | + | |
0 commit comments