There should be more graceful error handling of the case where `adapter` is missing from the configuration.
There should be more graceful error handling of the case where
adapteris missing from the configuration.