summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-02-11 02:03:52 +0000
committerivan <ivan>2008-02-11 02:03:52 +0000
commit80b1ad24a077f9082679394be0b2cdce0d7d4aeb (patch)
tree5c008eb6bb9ba43ac9c81d4b7a2769d40f9e7818
parentaf61bf4d385353aa4985615030db247000babea8 (diff)
better debugging if things go awry
-rw-r--r--FS/FS/reason.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/reason.pm b/FS/FS/reason.pm
index 55c2f5ab4..712185c6f 100644
--- a/FS/FS/reason.pm
+++ b/FS/FS/reason.pm
@@ -153,7 +153,7 @@ sub _upgrade_data { # class method
foreach (@sql) {
my $sth = $dbh->prepare($_) or die $dbh->errstr;
- $sth->execute or die $dbh->errstr;
+ $sth->execute or die $sth->errstr;
}
}
}