projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
42cf7d3
)
better error reporting for schema load failures (w/DBIx::DBSchema 0.32+), hopefully...
author
ivan
<ivan>
Sat, 26 Aug 2006 14:44:06 +0000
(14:44 +0000)
committer
ivan
<ivan>
Sat, 26 Aug 2006 14:44:06 +0000
(14:44 +0000)
FS/FS/Schema.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Schema.pm
b/FS/FS/Schema.pm
index
ab68765
..
30de0c9
100644
(file)
--- a/
FS/FS/Schema.pm
+++ b/
FS/FS/Schema.pm
@@
-51,7
+51,7
@@
sub reload_dbdef {
unless ( exists $dbdef_cache{$file} ) {
warn "[debug]$me loading dbdef for $file\n" if $DEBUG;
$dbdef_cache{$file} = DBIx::DBSchema->load( $file )
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;
}
} else {
warn "[debug]$me re-using cached dbdef for $file\n" if $DEBUG;
}