audit: output new formula issue comment failure message.
This should help debug when this fails to be created.
This commit is contained in:
parent
d6a245c051
commit
0fe1f01e41
@ -143,8 +143,8 @@ module Homebrew
|
|||||||
if GitHub.create_issue_comment(new_formula_problem_lines.join("\n"))
|
if GitHub.create_issue_comment(new_formula_problem_lines.join("\n"))
|
||||||
created_pr_comment = true
|
created_pr_comment = true
|
||||||
end
|
end
|
||||||
rescue *GitHub.api_errors
|
rescue *GitHub.api_errors => e
|
||||||
nil
|
opoo "Unable to create issue comment: #{e.message}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user