Skip to content

Commit 278e314

Browse files
committed
clarify error message
1 parent 632f0a7 commit 278e314

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpp-linter-lib/src/rest_api/github_api.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ impl RestApiClient for GithubApiClient {
222222
.await
223223
}
224224
}
225-
None => panic!("Failed to get list of changed files."),
225+
None => {
226+
panic!("Failed to connect with GitHub server to get list of changed files.")
227+
}
226228
}
227229
} else {
228230
// get diff from libgit2 API

0 commit comments

Comments
 (0)