From b0f3e38ff94b3340252e986d6e38f4b21d17985b Mon Sep 17 00:00:00 2001
From: Mike McQuaid <mike@mikemcquaid.com>
Date: Mon, 19 Sep 2016 14:32:56 +0100
Subject: [PATCH] update-report: tweak migration failure message.

---
 Library/Homebrew/cmd/update-report.rb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index 2f29fb701f..f6e73c2eb5 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -283,9 +283,12 @@ module Homebrew
     EOS
   rescue => e
     ofail <<-EOS.undent
-      #{e}
       #{Tty.white}Failed to migrate HOMEBREW_REPOSITORY to #{new_homebrew_repository}!
-      Please comment with your new error in issue or +1 an existing error:
+      The error was:
+        #{e}
+      Please try to resolve this error yourself and then run `brew update` again to
+      complete the migration. If you need help please +1 an existing error or comment
+      with your new error in issue:
         #{Tty.em}https://github.com/Homebrew/brew/issues/987#{Tty.reset}
     EOS
     $stderr.puts e.backtrace
-- 
GitLab