log a little more info when a migration fails

git-svn-id: file:///home/svn/framework3/trunk@9050 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee
2010-04-11 16:33:21 +00:00
parent 426e0b5b24
commit c8a8a6a3fe
+1
View File
@@ -199,6 +199,7 @@ class DBManager
rescue ::Exception => e
self.error = e
elog("DB.migrate threw an exception: #{e}")
dlog("Call stack:\n#{e.backtrace.join "\n"}")
return false
end
return true