Commit c6807367 authored by Kieron Taylor's avatar Kieron Taylor 😠
Browse files

[ENSCORESW-2576] Allow MultiTestDB to report failings on missing adaptors...

[ENSCORESW-2576] Allow MultiTestDB to report failings on missing adaptors required by tests. Previously failing to load the adaptor and swallowing the real error.
parent 43d308c1
...@@ -313,6 +313,8 @@ sub create_adaptor { ...@@ -313,6 +313,8 @@ sub create_adaptor {
else { else {
$self->{db_adaptors}->{$dbtype} = $adaptor; $self->{db_adaptors}->{$dbtype} = $adaptor;
} }
} else {
die "Failed to load dependency on $module described in MultiTestDB.* files: $EVAL_ERROR";
} }
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment