Only log error if database selectable