projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
real exception instead of die
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
MSSQL.pm
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!});
}
}