projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ea3e2bb
)
don't use throw_exception in code that can't
Matt S Trout [Mon, 16 Apr 2012 16:56:06 +0000 (16:56 +0000)]
lib/DBIx/Class/SQLMaker/Converter.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/SQLMaker/Converter.pm
b/lib/DBIx/Class/SQLMaker/Converter.pm
index
eca8545
..
a928e36
100644
(file)
--- a/
lib/DBIx/Class/SQLMaker/Converter.pm
+++ b/
lib/DBIx/Class/SQLMaker/Converter.pm
@@
-106,7
+106,7
@@
around _table_to_dq => sub {
{ $_ => $spec->{$_} }
( grep { $_ !~ /^\-/ } keys %$spec )
);
- $self->throw_exception( "Only one table/as pair expected in from-spec but an exra '$toomuch' key present" )
+ die "Only one table/as pair expected in from-spec but an exra '$toomuch' key present"
if defined $toomuch;
return +{