mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 06:55:16 +00:00
[#478,!249] Added extra log error message.
This commit is contained in:
committed by
Francis Dupont
parent
6f6b59fb62
commit
1a723bf02b
@@ -61,8 +61,13 @@ HostDataSourceFactory::add(HostDataSourceList& sources,
|
|||||||
|
|
||||||
// No match?
|
// No match?
|
||||||
if (index == map_.end()) {
|
if (index == map_.end()) {
|
||||||
|
if ( (db_type == "mysql") || (db_type == "pgsql") || (db_type == "cql")) {
|
||||||
|
isc_throw(InvalidType, "The type of host backend: '" << db_type
|
||||||
|
<< "' is not compiled in. Did you forget to use --with-mysql,"
|
||||||
|
<< " --with-pgsql or --with-cql during compilation?");
|
||||||
|
}
|
||||||
isc_throw(InvalidType, "The type of host backend: '" <<
|
isc_throw(InvalidType, "The type of host backend: '" <<
|
||||||
db_type << "' is not currently supported");
|
db_type << "' is not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Call the factory and push the pointer on sources.
|
// Call the factory and push the pointer on sources.
|
||||||
|
Reference in New Issue
Block a user