소스 검색

Updated error message on about to no longer reference user

thisnthat 5 년 전
부모
커밋
e63613846c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      about.go

+ 1 - 1
about.go

@@ -30,7 +30,7 @@ func GetAbout(config APIConfig) (About, error) {
 	json.NewDecoder(response.Body).Decode(&result)
 
 	if result.ErrorType != "" {
-		return About{}, fmt.Errorf("Failed to get discourse user. Error: %s", strings.Join(result.Errors, "; "))
+		return About{}, fmt.Errorf("Failed to get discourse version. Error: %s", strings.Join(result.Errors, "; "))
 	}
 
 	return result.About, nil