Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 49dda72

Browse files
author
ABaldwinHunter
committed
set default error message as a constant. remove 'while' from old message to avoid truncation
1 parent 8b644ab commit 49dda72

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/cc/services/github_pull_requests.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ class Config < CC::Service::Config
2424
# Just make sure we can access GH using the configured token. Without
2525
# additional information (github-slug, PR number, etc) we can't test much
2626
# else.
27+
28+
MESSAGES = [
29+
DEFAULT_ERROR = "Code Climate encountered an error attempting to analyze this pull request",
30+
]
31+
2732
def receive_test
2833
setup_http
2934

0 commit comments

Comments
 (0)