[freeside-commits] freeside/FS/FS Schema.pm,1.26,1.27
Ivan,,,
ivan at wavetail.420.am
Sat Aug 26 07:44:09 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv14631
Modified Files:
Schema.pm
Log Message:
better error reporting for schema load failures (w/DBIx::DBSchema 0.32+), hopefully...
Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Schema.pm 26 Aug 2006 14:39:35 -0000 1.26
+++ Schema.pm 26 Aug 2006 14:44:06 -0000 1.27
@@ -51,7 +51,7 @@
unless ( exists $dbdef_cache{$file} ) {
warn "[debug]$me loading dbdef for $file\n" if $DEBUG;
$dbdef_cache{$file} = DBIx::DBSchema->load( $file )
- or die "can't load database schema from $file: $DBIx::DBSchema::errstr";
+ or die "can't load database schema from $file: $DBIx::DBSchema::errstr\n";
} else {
warn "[debug]$me re-using cached dbdef for $file\n" if $DEBUG;
}
More information about the freeside-commits
mailing list