Skip to content

Commit cfae8ea

Browse files
authored
Update NotFound error message
The token can now be either a project or account token
1 parent e406a72 commit cfae8ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/codacy/rules/ReportRules.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class ReportRules(coverageServices: => CoverageServices) extends StrictLogging {
234234
*/
235235
private[rules] def handleFailedResponse(response: FailedResponse): String = {
236236
if (response.message.contains("not found")) {
237-
"""Request URL not found. (Check if the project token or the API base URL are valid)"""
237+
"""Request URL not found. (Check if the token you are using or the API base URL are valid)"""
238238
} else {
239239
response.message
240240
}

0 commit comments

Comments
 (0)