[providers] * register provider on error