[Bps-public-commit] r14135 - in sd/trunk: lib/App/SD/Replica/Hiveminder

sartak at bestpractical.com sartak at bestpractical.com
Tue Jul 15 20:30:54 EDT 2008


Author: sartak
Date: Tue Jul 15 20:30:44 2008
New Revision: 14135

Modified:
   sd/trunk/   (props changed)
   sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm

Log:
 r64333 at onn:  sartak | 2008-07-15 20:20:49 -0400
 Explode more gracefully on unknown change types


Modified: sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm	Tue Jul 15 20:30:44 2008
@@ -72,6 +72,10 @@
             }
 
         }
+        else {
+            die "Unknown change type $txn->{type}.";
+        }
+
         $changeset->add_change( { change => $change } );
         foreach my $email ( @{ $txn->{email_entries} } ) {
             if ( my $sub = $self->can( '_recode_email_' . 'blah' ) ) {



More information about the Bps-public-commit mailing list