From: Peter Rabbitson Date: Tue, 23 Feb 2010 13:12:25 +0000 (+0000) Subject: Proper error message X-Git-Tag: v0.08120~3^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4f2b30170ab6a5dce17660d5774985402a395db0;p=dbsrgits%2FDBIx-Class.git Proper error message --- diff --git a/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm b/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm index c6491ab..371589e 100644 --- a/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm +++ b/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm @@ -95,7 +95,7 @@ sub _dbh_get_autoinc_seq { while (my ($insert_trigger) = $sth->fetchrow_array) { return $1 if $insert_trigger =~ m!("?\w+"?)\.nextval!i; # col name goes here??? } - $self->throw_exception("Unable to find a sequence INSERT trigger on table '" . $source->name . "'."); + $self->throw_exception("Unable to find a sequence INSERT trigger on table '$source_name'."); } sub _sequence_fetch {