Skip to content

Commit a3749a6

Browse files
committed
github: log when comments are being hidden
1 parent d36df0e commit a3749a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/github.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ impl Client {
282282
viewer_did_author: bool,
283283
}
284284

285+
debug!("started hiding comments in {}#{}", repo, pull_request_id);
286+
285287
let (owner, repo) = if let Some(mid) = repo.find('/') {
286288
let split = repo.split_at(mid);
287289
(split.0, split.1.trim_start_matches('/'))
@@ -327,6 +329,8 @@ impl Client {
327329
}
328330
}";
329331

332+
trace!("hiding comment {}", node_id);
333+
330334
self.graphql::<MinimizeData, _>(
331335
MINIMIZE,
332336
serde_json::json!({

0 commit comments

Comments
 (0)