From faf27ae35f544a2ca094d977e5717df1d1b398f8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 6 May 2025 10:11:10 +0100 Subject: [PATCH] utils/github: improve PR creation error message. This may help with debugging why this has failed. --- Library/Homebrew/utils/github.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index bb549580a4..5493bd335f 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -807,7 +807,7 @@ module GitHub commits.each do |commit| commit[:sourcefile_path].atomic_write(commit[:old_contents]) end - odie "Unable to open pull request: #{e.message}!" + odie "Unable to open pull request for #{tap_remote_repo}: #{e.message}!" end end end