Skip to content

Commit

Permalink
#33 Fix attribute name that contain error message
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Jun 14, 2017
1 parent 2cd43f5 commit a6d6a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/JsonFormat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ object JsonFormat {
} yield SuccessReport(artifacts, full, summary))
.getOrElse(FailureReport(s"Invalid analyzer output format : $json"))
else
FailureReport((json \ "error").asOpt[String].getOrElse(json.toString))
FailureReport((json \ "errorMessage").asOpt[String].getOrElse(json.toString))
}
}

Expand Down

0 comments on commit a6d6a9a

Please sign in to comment.