kernel/v2: capture error if provider config is bad [GH-2959]