mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-03-25 10:32:28 +01:00
Initial commit
This commit is contained in:
19
app/views/warnings/failedResults.scala.html
Normal file
19
app/views/warnings/failedResults.scala.html
Normal file
@@ -0,0 +1,19 @@
|
||||
@(errors: Map[String, Throwable])
|
||||
<ul>
|
||||
Some reports failed to be downloaded:
|
||||
@for((project, e) <- errors){
|
||||
<li>
|
||||
@project: @e
|
||||
@(e match {
|
||||
case upickle.Invalid.Data(data, msg) => s"$msg (data: $data)"
|
||||
case upickle.Invalid.Json(msg, input) => s"$msg (input: $input)"
|
||||
case _ => ""
|
||||
})
|
||||
|
||||
</li>
|
||||
@{
|
||||
play.api.Logger.logger.error(s"Project results of $project failed to parse.", e)
|
||||
()
|
||||
}
|
||||
}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user