[Dbix-class] throw_exception change in 0.08

Matt S Trout dbix-class at trout.me.uk
Tue Jun 26 16:33:09 GMT 2007


On Tue, Jun 26, 2007 at 07:42:25AM -0500, Brandon Black wrote:
> On 6/25/07, Christopher H. Laco <claco at chrislaco.com> wrote:
> >Long story longer, the behavour of throw_exception changed in 0.08,
> >which broke DBIC::Validation::validate:
> >
> 
> How about if I changed DBIx::Class::Exception->throw to not wrap any
> objects (before, it only skipped wrapping objects of its own type)?  I
> just committed that to trunk, see how it works out.

I think this is likely the correct answer by default unless we find a reason
to go back to the other way.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Dbix-class mailing list