schambers/fluentmigrator — pull request #283 by hunt3ri (2012-07-27 15:53:32+00:00)
Title: Get Nant to Fail build if Error during migrations

Hi folks

Currently the Nant Runner swallows exceptions so even if an error occurs during your migration Nant reports the build has completed successfully.

Now, in theory, because your migrations get rolled back you might think that this is OK. But I'd argue this is bad as your CI thinks that everything is fine.

Therefore I've told Nant.Runner to rethrow any exception which ensures the build fails, which is what I want and I think is more correct

Cheers
Iain