[freeside-commits] freeside/FS/FS Schema.pm,1.25,1.26
Ivan,,,
ivan at wavetail.420.am
Sat Aug 26 07:39:37 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv14161
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.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- Schema.pm 23 Aug 2006 12:13:40 -0000 1.25
+++ Schema.pm 26 Aug 2006 14:39:35 -0000 1.26
@@ -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";
+ or die "can't load database schema from $file: $DBIx::DBSchema::errstr";
} else {
warn "[debug]$me re-using cached dbdef for $file\n" if $DEBUG;
}
More information about the freeside-commits
mailing list