Commit cf7b288
committed
Improve problem reporting
Report the summary (previously "found $count potential binary...") at
error or warn level, like the problem details themselves.
Note that `log`, here, is MiMa's Logging interface, which wires its info
level to sbt's _debug_ level. So logging to "info" will mostly never be
seen.
Therefore, this, in particular, brings to the foreground:
* the module version (".. check against org.scala-sbt:main_2.12:1.1.2!")
* the number of filtered problems (".. (filtered 111)")
Also, don't log the project name with sys.error: sbt's task error
reporting prints the message with the project-specific task name, e.g.:
[error] (mainProj / mimaReportBinaryIssues) Main: Binary compatibility check failed!1 parent 4943295 commit cf7b288
File tree
2 files changed
+13
-18
lines changed- sbtplugin/src/main/scala/com/typesafe/tools/mima/plugin
2 files changed
+13
-18
lines changedLines changed: 7 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 71 | | |
84 | 72 | | |
85 | 73 | | |
86 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
87 | 82 | | |
88 | 83 | | |
89 | 84 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments