Created
February 11, 2013 11:26
-
-
Save meineerde/4753958 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/db/migrate/20100714111653_build_initial_journals_for_acts_as_journalized.rb b/db/migrate/20100714111653_build_initial_journals_for_acts_as_journalized.rb | |
index 0e76661..80a9a60 100644 | |
--- a/db/migrate/20100714111653_build_initial_journals_for_acts_as_journalized.rb | |
+++ b/db/migrate/20100714111653_build_initial_journals_for_acts_as_journalized.rb | |
@@ -50,6 +50,10 @@ class BuildInitialJournalsForActsAsJournalized < ActiveRecord::Migration | |
puts "ERROR: errors creating the initial journal for #{o.class.to_s}##{o.id.to_s}:" | |
puts " #{ex.message}" | |
end | |
+ rescue Exception => ex | |
+ puts "ERROR: errors creating the initial journal for #{o.class.to_s}##{o.id.to_s}:" | |
+ puts " #{ex.message}" | |
+ raise | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment