Skip to content

Commit

Permalink
Merge pull request #177 from codacy/update-error-message
Browse files Browse the repository at this point in the history
docs: Update NotFound error message
  • Loading branch information
lolgab authored Mar 11, 2020
2 parents e406a72 + 7e70b45 commit ede8978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/com/codacy/rules/ReportRules.scala
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class ReportRules(coverageServices: => CoverageServices) extends StrictLogging {
*/
private[rules] def handleFailedResponse(response: FailedResponse): String = {
if (response.message.contains("not found")) {
"""Request URL not found. (Check if the project token or the API base URL are valid)"""
"Request URL not found. (Check if the token you are using or the API base URL are valid)"
} else {
response.message
}
Expand Down

0 comments on commit ede8978

Please sign in to comment.