diff options
author | ivan <ivan> | 2006-08-26 14:44:06 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-08-26 14:44:06 +0000 |
commit | 62ee3858ef853cb2b4f1a6cd98f8a608e7d11d7d (patch) | |
tree | 69b4cc63999e78253f3ba4a12fdb69a4678c3336 /FS | |
parent | 42cf7d3e2356d7b92fab9703de77e7ba747fabae (diff) |
better error reporting for schema load failures (w/DBIx::DBSchema 0.32+), hopefully...
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/Schema.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index ab68765dd..30de0c915 100644 --- 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 ) - 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; } |