Fix error handling in configure_view() to prevent deadlocks.

Signed-off-by: Petr Spacek <pspacek@redhat.com>
Log error if dynamic database configuration failed.

Signed-off-by: Petr Spacek <pspacek@redhat.com>