projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
30f31aa
)
better error messages if you haven't run fs-setup ?
author
ivan
<ivan>
Tue, 5 Feb 2002 20:25:32 +0000
(20:25 +0000)
committer
ivan
<ivan>
Tue, 5 Feb 2002 20:25:32 +0000
(20:25 +0000)
FS/FS/Record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
4286606
..
755cef8
100644
(file)
--- a/
FS/FS/Record.pm
+++ b/
FS/FS/Record.pm
@@
-1014,7
+1014,8
@@
I<$FS::Record::setup_hack> is true. Returns a DBIx::DBSchema object.
sub reload_dbdef {
my $file = shift || $dbdef_file;
sub reload_dbdef {
my $file = shift || $dbdef_file;
- $dbdef = load DBIx::DBSchema $file;
+ $dbdef = load DBIx::DBSchema $file
+ or die "can't load database schema from $file";
}
=item dbdef
}
=item dbdef