projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e76e7b5
)
real exception instead of die
Arthur Axel "fREW" Schmidt [Tue, 8 Dec 2009 15:15:50 +0000 (15:15 +0000)]
lib/DBIx/Class/Storage/DBI/MSSQL.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage/DBI/MSSQL.pm
b/lib/DBIx/Class/Storage/DBI/MSSQL.pm
index
e39871d
..
be1c399
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/MSSQL.pm
+++ b/
lib/DBIx/Class/Storage/DBI/MSSQL.pm
@@
-235,7
+235,7
@@
sub _get_mssql_version {
if ($data->{Character_Value} =~ /^(\d+)\./) {
return $1;
} else {
- die q{wtf your server doesn't have a version!};
+ $self->throw_exception(q{your MSSQL server doesn't have a version!});
}
}